System.Net.WebException: The remote server returned an error: (404) Not Found.
I am trying to get a response from a URL using the HttpWebRequest
object. this is my code below.
httpRequest = (HttpWebRequest) WebRequest.Create(myurl);
httpRequest.Method = "GET";
httpRequest.Timeout = 90000;
httpResponse = httpRequest.GetResponse();
Before it was working fine. Then suddenly we got an error. This is the
details of the error I got. The url exists coz we are able to access it
using a regular browser.
System.Net.WebException: The remote server returned an error: (404) Not
at MobileClientInstall.AppMain.submitHTTPRequest(String serverName,
String resource, String queryString)
What changed between when it worked and when it stopped working? Did you install any new software, such as a firewall? Did you change the network settings on the PC?
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
It worked fine in our environment. But in our clients, it didnt work. We asked them if they did some updates or anything but they said they didnt do anything. So now we are like shooting in the dark. What do you think are the possible causes of this problem? We are thinking about proxy or firewall but they say they are no updates related to that or anything. Basically they didnt do anything and suddenly our application doesnt work.
By rperez in forum Database
Last Post: 01-02-2009, 05:14 PM
By BlueApple in forum .NET
Last Post: 11-20-2006, 12:37 PM
Last Post: 11-19-2005, 05:26 PM
By trible777 in forum Database
Last Post: 06-16-2005, 01:19 AM
By andriano in forum Enterprise
Last Post: 10-02-2000, 04:54 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL