[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

soap exception: the remote name could not be resolved

Posted on 2006-11-06
4
Medium Priority
?
490 Views
Last Modified: 2008-01-09
I have a web service that has been running just fine... this morning, I went to try it and got the following exception when called from a C# program, which also worked last night:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Net.WebException: The remote name could not be  resolved: 'www.findbookprices.com' at System.Net.HttpWebRequest.GetResponse()

When I test the web service stand-alone, it works; when I call it from my C# program, it fails...

Any ideas?
0
Comment
Question by:rmmarsh
  • 3
4 Comments
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 1000 total points
ID: 17882432
hi,
in the c# take the solution explore
click on the web service abd select the web service
and click on update web reference

b u d d h a
0
 

Author Comment

by:rmmarsh
ID: 17882494
been there, done that (several times)... I rebuilt both the C# program and the Webservice... same-o, same-o...
0
 

Author Comment

by:rmmarsh
ID: 17882510
Oops...spoke too soon... tried to test again (stand-along) and now it's failing... here is the code:

        StringBuilder page = new StringBuilder();
        byte[] buf = new byte[8192];

        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(@"http://www.findbookprices.com/search/?isbn=" + isbn);
        request.Method = "GET";
        request.KeepAlive = true;
        request.Timeout = 1000 * 60 * 5;  //  timeout of 15 minutes
       
        HttpWebResponse response = (HttpWebResponse)request.GetResponse();

        Stream resStream = response.GetResponseStream();


Any ideas?
0
 

Author Comment

by:rmmarsh
ID: 17883586
I changed some code around and it's working now...  thanks for you help...
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 8 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question