|
-
System.Net.WebException: The remote server returned an error: (404) Not Found.
Hi,
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
Found.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult
asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at MobileClientInstall.AppMain.submitHTTPRequest(String serverName,
String resource, String queryString)
Thanks,
Baldwin
Similar Threads
-
By rperez in forum Database
Replies: 5
Last Post: 01-02-2009, 04:14 PM
-
By BlueApple in forum .NET
Replies: 2
Last Post: 11-20-2006, 11:37 AM
-
Replies: 2
Last Post: 11-19-2005, 04:26 PM
-
By trible777 in forum Database
Replies: 3
Last Post: 06-16-2005, 12:19 AM
-
By andriano in forum Enterprise
Replies: 1
Last Post: 10-02-2000, 03:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks