Problem with IIS 5.1(ASP.NET and windows XP)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • btreddy
    New Member
    • Oct 2008
    • 83

    Problem with IIS 5.1(ASP.NET and windows XP)

    Hii ,
    I've IIS 5.1 installed in my machine and i created one website using asp.net 2.0 after tht created a virtual directory with name "DUMMY" and map the website path to the virtual directory .

    When i open the IIS and rght click on the virtual directory tht i've created and select Browse..its showing all the webpages in the website.But when i click on a perticuler web page its not showing tht page and showing the error "The website cannot display the page".

    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.


    I serached in the net ..but endedup with no soultion.

    Please help me .

    Thanks in advance.
    Rgds,
    BTR.
  • btreddy
    New Member
    • Oct 2008
    • 83

    #2
    Problem with IIS 5.1 (ASP.NET 2.0 &C#)

    Hii ,
    I've IIS 5.1 installed in my machine and i created one website using asp.net 2.0 after tht created a virtual directory with name "DUMMY" and map the website path to the virtual directory .

    When i open the IIS and rght click on the virtual directory tht i've created and select Browse..its showing all the webpages in the website.But when i click on a perticuler web page its not showing tht page and showing the error "The website cannot display the page".

    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.


    I serached in the net ..but endedup with no soultion.

    Please help me .

    Thanks in advance.
    Rgds,
    BTR.

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Are you able to view html pages? If so check the web extensions.

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        I notice that you have also posted this question in the IIS forum. Please do not double post. Thanks.

        MODERATOR

        Comment

        • balabaster
          Recognized Expert Contributor
          • Mar 2007
          • 798

          #5
          Okay follow these steps:
          • Go into IIS and right click on your website.
          • Select New -> Virtual Directory
          • Click Next
          • In the Alias field type IISHelp
          • Click Next
          • In the Directory field, click Browse...
          • Navigate to the directory C:\[Windows Directory]\Help\IISHelp
          • Click OK
          • Click Next
          • Make sure that the Read and Run Scripts (such as ASP) options are both selected
          • Click Next
          • Click Finish
          • Right click your website again
          • This time, select Properties...
          • Click the Custom Errors Tab
          • Scroll down to Error 500 / Default / "Internal Server Error"
          • Click edit properties
          • Change the Message Type from Default to URL
          • In the URL field enter /IISHelp/common/500-100.asp
          • Click OK
          • Click OK
          • Click OK


          Now instead of your website being configured just to tell you that there is a server error, it will tell you what that error is giving you a better chance of finding and fixing it.

          Comment

          • btreddy
            New Member
            • Oct 2008
            • 83

            #6
            Hii,

            im ble to view HTMl pages.Can you tell me how to check the webextensions?
            Plz tell me im new to IIS .

            Thank you.
            Rgds,
            BTR.

            Comment

            • btreddy
              New Member
              • Oct 2008
              • 83

              #7
              Hi kenobewan,

              Please help me.im helpless here.

              im able to browse the html pages like http:\\localhos t\dummy\testpag e.htm

              but im unable to browse teh aspx pages.

              i tried this rght clk on websites-->properties-->Home Directory--->cliked on configuration button...but there is no response..

              Could please tell where is the problem?

              Comment

              • Frinavale
                Recognized Expert Expert
                • Oct 2006
                • 9749

                #8
                A 500 error code could mean a number of things.
                The first thing I would check is if you have ASP.NET installed and if your IIS is configured to run ASP.NET (and that configured to run the right version). The next thing I would check is the Windows Event logs for any errors that are happening.

                -Frinny
                Last edited by Frinavale; Nov 19 '10, 01:57 PM.

                Comment

                • btreddy
                  New Member
                  • Oct 2008
                  • 83

                  #9
                  This is what the event description i found in EventViewer.

                  The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.
                  '

                  Thanks
                  BTR.

                  Comment

                  • Frinavale
                    Recognized Expert Expert
                    • Oct 2006
                    • 9749

                    #10
                    Check to see if your Distributed Transaction Coordinator (DTC or MSDTC) service is running and that it is running under the Network Services account.

                    To do this go to Control Panel -> Administrative Tools -> Services
                    Then look for a service called "Distribute d Transaction Coordinator" in the lists of services. Is it running? Is the "Log On As" user the "Network Services" account?

                    If it's missing you're going to have to install it.
                    If it's running under the wrong account you're going to have to change it.

                    See this thread for more information.

                    -Frinny

                    Comment

                    • nnxion

                      #11
                      Make sure to turn off friendly errors in IE.

                      Comment

                      Working...