System.Net.WebException: The remote server returned an error: (500) Internal Server Error.



I am trying to consume a web service from web page through
HTTP POST method and I am getting the following error message

"System.Net.WebException: The remote server returned an error: (500)
Internal Server Error."

I have been searchign the web and followed all the options which worked
for others

1. Changed the web.config of the web service to accomodate HttpPost
<add name="HttpGet"/>
<add name="HttpPost"/>

2. Used the HttpRequest.Credentials =

I am not sure what is wrong there it fails while the request is sent to
the web service. The web service works fine with other web clients

Let me know your ideas


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question