Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. XMLHTTP40Class Status 500 error.

XMLHTTP40Class Status 500 error.

Scheduled Pinned Locked Moved C#
helpcsharp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ramdil
    wrote on last edited by
    #1

    Hi All i am accessing a webservice in my local machine through application which is of c# code and using XMLHTTP40 class i have condition to check the status of the XMLHTTP40 .i created the object of it and was checking a condition like below if (objXmlHTTP.status != 200) { } i am getting status value as 500 .Why status is giving me 500 . i restarted my webservice and then restarted my machine but still status value is 500. can any one help me. Advanced thanks

    Regards DilipRam

    P V 2 Replies Last reply
    0
    • R ramdil

      Hi All i am accessing a webservice in my local machine through application which is of c# code and using XMLHTTP40 class i have condition to check the status of the XMLHTTP40 .i created the object of it and was checking a condition like below if (objXmlHTTP.status != 200) { } i am getting status value as 500 .Why status is giving me 500 . i restarted my webservice and then restarted my machine but still status value is 500. can any one help me. Advanced thanks

      Regards DilipRam

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Have a look in your event logs and see if there are any IIS events written there. Status 500 is the catch all "something is wrong with the server" error, so without more information there is little we can help you with.

      Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

      R 1 Reply Last reply
      0
      • R ramdil

        Hi All i am accessing a webservice in my local machine through application which is of c# code and using XMLHTTP40 class i have condition to check the status of the XMLHTTP40 .i created the object of it and was checking a condition like below if (objXmlHTTP.status != 200) { } i am getting status value as 500 .Why status is giving me 500 . i restarted my webservice and then restarted my machine but still status value is 500. can any one help me. Advanced thanks

        Regards DilipRam

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        You also get the Text response in responseText. Check the property name anyway.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        R 1 Reply Last reply
        0
        • P Pete OHanlon

          Have a look in your event logs and see if there are any IIS events written there. Status 500 is the catch all "something is wrong with the server" error, so without more information there is little we can help you with.

          Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.

          R Offline
          R Offline
          ramdil
          wrote on last edited by
          #4

          Hi Thanks for responding when i checked the event log i found entries like this 11:07:29 127.0.0.1 GET /_vti_bin/owssvr.dll 500 11:07:29 127.0.0.1 GET /MSOffice/cltreq.asp 404 11:07:29 127.0.0.1 POST /xmlsportsin/xmlsportsin.asmx 500 11:09:21 127.0.0.1 POST /xmlsportsin/xmlsportsin.asmx 500.. i looked the log file in the following path C:\WINNT\system32\LogFiles\W3SVC1...in my local machine. Any idea.

          Regards DilipRam

          1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            You also get the Text response in responseText. Check the property name anyway.

            Vasudevan Deepak Kumar Personal Homepage Tech Gossips

            R Offline
            R Offline
            ramdil
            wrote on last edited by
            #5

            Hi Thanks.I got the error from the response text and i fix the problem Thanks

            Regards DilipRam

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups