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. The Lounge
  3. IIS simply keeps throwing 500 errors (Not a programming question) [Edited]

IIS simply keeps throwing 500 errors (Not a programming question) [Edited]

Scheduled Pinned Locked Moved The Lounge
helpasp-netquestioncsharpsharepoint
14 Posts 10 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.
  • V Vikram A Punathambekar

    This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

    iisreset /stop
    net user ASPNET /delete
    aspnet_regiis -i
    iisreset /start

    I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

    R Offline
    R Offline
    RichardGrimmer
    wrote on last edited by
    #2

    Have been having similar issues with IIS - solved by uninstalling / reinstalling .NET framework (1.1 and 2.0).....seemed to solve my problems..... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

    1 Reply Last reply
    0
    • V Vikram A Punathambekar

      This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

      iisreset /stop
      net user ASPNET /delete
      aspnet_regiis -i
      iisreset /start

      I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


      "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

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

      Vikram, When it throws 500 Internal Server Error or Server Application Unavailable, did you check the event logs for any related error messages? That can throw some clues towards the problem being encountered. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://deepak.blogdrive.com/

      V 1 Reply Last reply
      0
      • V Vikram A Punathambekar

        This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

        iisreset /stop
        net user ASPNET /delete
        aspnet_regiis -i
        iisreset /start

        I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


        "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

        K Offline
        K Offline
        Kastellanos Nikos
        wrote on last edited by
        #4

        Just some ideas. Check for other programs listening to port 80. Stop (or uninstall) the IIS. Do you still get an 500? (shouldn't) Where does the web root directory point? Change it and see what happens.

        M 1 Reply Last reply
        0
        • K Kastellanos Nikos

          Just some ideas. Check for other programs listening to port 80. Stop (or uninstall) the IIS. Do you still get an 500? (shouldn't) Where does the web root directory point? Change it and see what happens.

          M Offline
          M Offline
          MartinSmith
          wrote on last edited by
          #5

          Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?

          K 1 Reply Last reply
          0
          • V Vikram A Punathambekar

            This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

            iisreset /stop
            net user ASPNET /delete
            aspnet_regiis -i
            iisreset /start

            I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


            "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

            G Offline
            G Offline
            Graham Bradshaw
            wrote on last edited by
            #6

            Look in the IIS log (not the Windows event log) at the time when the 500 occurs. Make sure that IIS logging is enabled (and log *everything*)

            1 Reply Last reply
            0
            • V Vikram A Punathambekar

              This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

              iisreset /stop
              net user ASPNET /delete
              aspnet_regiis -i
              iisreset /start

              I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


              "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

              J Offline
              J Offline
              Jain Mohit
              wrote on last edited by
              #7

              appears to be the infamous Loopback address issue which blocks all loopback addresses except 127.0.0.1 in XP SP2. If so is the case, this might be of some help: http://support.microsoft.com/?id=884020[^] :cool:

              1 Reply Last reply
              0
              • M MartinSmith

                Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?

                K Offline
                K Offline
                Kastellanos Nikos
                wrote on last edited by
                #8

                MartinSmith wrote:

                Can you turn off "friendly" error messages in IE and tell us exactly what the error code is?

                That would be rude, wouldn't it?

                1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

                  iisreset /stop
                  net user ASPNET /delete
                  aspnet_regiis -i
                  iisreset /start

                  I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


                  "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

                  M Offline
                  M Offline
                  MartinSmith
                  wrote on last edited by
                  #9

                  Plenty of things here for you to try... http://www.aspfaq.com/show.asp?id=2226[^]

                  1 Reply Last reply
                  0
                  • V Vikram A Punathambekar

                    This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

                    iisreset /stop
                    net user ASPNET /delete
                    aspnet_regiis -i
                    iisreset /start

                    I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


                    "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

                    R Offline
                    R Offline
                    Ravi Bhavnani
                    wrote on last edited by
                    #10

                    Turn off your firewall and see if that helps. It worked for me. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                    V 1 Reply Last reply
                    0
                    • R Ravi Bhavnani

                      Turn off your firewall and see if that helps. It worked for me. /ravi My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                      V Offline
                      V Offline
                      Vikram A Punathambekar
                      wrote on last edited by
                      #11

                      Ravi Bhavnani wrote:

                      Turn off your firewall and see if that helps.

                      There's only the corporate firewall, over which I have no control. Anyway, it (ASP.net) works for others in my team, and we all use the same network. :sigh: Cheers, Vikram.


                      "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.

                      1 Reply Last reply
                      0
                      • V Vasudevan Deepak Kumar

                        Vikram, When it throws 500 Internal Server Error or Server Application Unavailable, did you check the event logs for any related error messages? That can throw some clues towards the problem being encountered. Vasudevan Deepak Kumar Personal Web: http://www.lavanyadeepak.tk/ I Blog At: http://deepak.blogdrive.com/

                        V Offline
                        V Offline
                        Vikram A Punathambekar
                        wrote on last edited by
                        #12

                        Vasudevan, I've modified my original post. Please take a look at it. Cheers, Vikram.


                        "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi.

                        1 Reply Last reply
                        0
                        • V Vikram A Punathambekar

                          This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

                          iisreset /stop
                          net user ASPNET /delete
                          aspnet_regiis -i
                          iisreset /start

                          I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


                          "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

                          M Offline
                          M Offline
                          Mike Dimmick
                          wrote on last edited by
                          #13

                          I'd take a guess that your metabase is corrupted. If you have a backup of it (typically c:\windows\system32\inetsrv\metabase.bin), restore that. Otherwise, go to Control Panel, Add/Remove Programs, Add/Remove Windows Components, then uninstall IIS. Delete the contents of C:\Windows\System\Inetsrv. Then reinstall IIS. If that works, you'll now have to reconfigure all your applications in the Internet Services Manager snap-in. You'll also need to re-run aspnet_regiis to get ASP.NET working. If the IIS install complains about being unable to encrypt the metabase, your MachineKeys folder may well not be working (as mine wasn't). The permissions on mine seemed to be set the same as everyone else's, and a fresh XP install, but didn't work. I set them the same as this KB article[^] - after that, repeating the uninstall/reinstall made the metabase work again. Stability. What an interesting concept. -- Chris Maunder

                          1 Reply Last reply
                          0
                          • V Vikram A Punathambekar

                            This is not a programming question - I'm not even able to get IIS working. :( I'm running XP SP 2. The Control Panel IIS applet says the IIS version is 5.1. When I create a new ASP.NET project with VS 2003, it throws a 500 error. Firing up a browser and typing http://localhost again generates a 500 error. I've tried it with both IE and FF, for what it's worth. Then a colleague suggested that I run these from the VS 2003 command prompt. No use.

                            iisreset /stop
                            net user ASPNET /delete
                            aspnet_regiis -i
                            iisreset /start

                            I checked the Services applet. ASP.NET state service and IIS are enabled automatic services. [EDIT]This is what I found in the Event Log: http://geocities.com/vpunathambekar/iis_error.gif. Clicking on the help link provides no additional information. :| Please copy-paste the Geocities link rather than clicking it. I'm having VS 2003 and VS 2005 beta 2, though I only use VS 2003. [/EDIT] I called the IT guys. They came, they saw, and they went away. They uninstalled and reinstalled IIS, but to no avail. They say it's an OS problem and have asked me to backup my files so they can format the disk and reinstall everything. I don't want my HD to be formatted and reinstall everything :(( It's going to take at least 2 days. Isn't there any way out? Cheers, Vikram.


                            "When I read in books about a "base class", I figured this was the class that was at the bottom of the inheritence tree. It's the "base", right? Like the base of a pyramid." - Marc Clifton. i dont mind to be a stupid,better than being a moron - Adnan Siddiqi. -- modified at 8:17 Thursday 19th January, 2006

                            X Offline
                            X Offline
                            xlr ltspan style font size110 color 990000font we
                            wrote on last edited by
                            #14

                            You might want to check and see if your web root directory has been configured as a n application in IIS. I know it sounds crazy, but I've seen it happen when I change the target of the default site.

                            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