System.Net.WebException: The remote server returned an error: (500) Internal Ser
I am not a .Net developer basically,but I have been given the task to look into why an application built on .NET framework gets an error while trying to access our GUI which has been built on JAVA and STRUTS.
I was trying to debug the application by putting
System.Windows.Forms.MessageBox.Show() whereever I suspected the problem to be and then started the server in debug mode. It seems that the below line is the culprit -
byte[] responseArray =
mWebClient.UploadValues(URL, "POST", paramList);
paramList is an instance of NameValueCollection and URL is a valid representation of the URL to the GUI I want to access in String format.
This is the stack trace of the error I get -
System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.WebClient.UploadValues(Uri address,String method,NameValueCollectionData data)
at System.Net.WebClient.UploadValues(String address,String method,NameValueCollectionData data)
.
.
.
I did some google on the above errror and the closest thing I got was that for version 1.1 and higher of .NET, the machine.config has the entries for httpPost and httpGet commented by default, but I tried that and still I am unable to resolve my issue.
Can someone please help me with this issue ??
Thanks and Regards,
Aryaan

