Hello everyone,
I used the HttpWebRequest and HttpWebResponse Class to send the request to the host and in web response, I got an error "The remote server returned an error: (404) Not Found.". When I click view details status from the error message box and it shows that "System.Net.WebExceptionStatus.ProtocolError". At first, I thought it can't find the resource because the URL for HttpWebRequest is wrong but it's not. So, I captured the url and test it on the web browser and it did return the status in web response to "Status Completed" in the page. So I'm wondering what cause it to fail. Anyone have any suggestions? Thanks and really appreciated!
Here is part of the code that sends the request to the host and in return will be the web response in either the report complete or not
Go to the complete details ...