In my ASP.Net app, I open a request to a url as follows:
webRequest = WebRequest.Create(url);
response = webRequest.GetResponse();
But the GetResponse returns an exception of:
The remote server returned an error: (404) Not Found.
The url does in fact exist. If I copy the url and enter it in my browser, it will show the page. What could be causing this exception?