I have web pages that need to receive an object that contains device state data in order to populate accurately. I get a error 500 in the jit debugger as such
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
Here is the code I am working with for communication and the error occurs when the Get Response is called. The IIS 7 works fine in ie, mozilla and chrome browsers
HttpWebRequest request = (HttpWebRequest)System.Net.WebRequest.Create("http://localhost:9000/NetworkManager/Dashboard.aspx");
HttpWebResponse response;
request.Timeout = 30000;
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.AllowAutoRedirect = false;
request.UserAgent = "Mozilla/5.0+(compatible; ...
Go to the complete details ...