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

Discussion in 'ASP .Net Web Services' started by kuladeep.mohan@gmail.com, Mar 24, 2006.

  1. Guest

    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
     
    , Mar 24, 2006
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Ratliff

    Internal Server Error 500 vb.net

    Mike Ratliff, Dec 22, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    2,650
  2. .NET Follower

    Re: ASP.NET 500 Internal Server Error

    .NET Follower, Feb 12, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    5,631
    Canice Pang
    Mar 8, 2004
  3. John Bonds
    Replies:
    2
    Views:
    3,318
    Amaryllis
    Aug 3, 2004
  4. =?Utf-8?B?RGFubnk=?=
    Replies:
    1
    Views:
    1,331
    Joerg Jooss
    Dec 3, 2005
  5. Replies:
    5
    Views:
    83,779
    cpdarkman
    Aug 26, 2009
  6. BobbyOwens
    Replies:
    0
    Views:
    4,954
    BobbyOwens
    Jan 23, 2009
  7. Jeremy Ames
    Replies:
    1
    Views:
    405
    Jeremy Ames
    Jan 8, 2004
  8. Lisa Ngo
    Replies:
    3
    Views:
    689
    Jan Tielens
    Jan 18, 2004
Loading...