PC Review


Reply
Thread Tools Rate Thread

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

 
 
kuladeep.mohan@gmail.com
Guest
Posts: n/a
 
      24th Mar 2006
Hi
I am trying to consume a web service from asp.net 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
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>


2. Used the HttpRequest.Credentials =
CredentialCache.DefaultCredentials;


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


thanks
Mohan

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Net.WebException: The remote server returned an error: (500) Internal Server Error. kuladeep.mohan@gmail.com Microsoft ASP .NET 5 19th Oct 2010 01:57 PM
how to retrieve CGI rss feed using asp.net but error The remote server returned an error: (503) Server Unavailable. rote Microsoft ASP .NET 0 7th Mar 2008 12:26 AM
System.Net.WebException: The remote server returned an error: (500) Internal Server Error. kuladeep.mohan@gmail.com Microsoft C# .NET 0 24th Mar 2006 03:59 PM
internal support function has returned an error Mike Microsoft Outlook 0 25th Feb 2004 05:46 PM
"Internal function returned an error" in Sending email John Marler Microsoft Outlook Discussion 1 10th Oct 2003 08:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:06 AM.