locked
IIS7 - HTTP Error 500.0 - Internal Server Error RRS feed

  • Question

  • User-471287741 posted

    I am using Vista Ultimate and Visual Studio 2005 and Expression Web.  I can run Hello_World.aspx and defualt.htm from both the development servers in VS and EW without issue.  However, when I try to run the same files from IIS7, I receive the Server Error below.  I have setup the site as a virtual directory in IIS7, and all files are local to my C drive.  What is odd to me is that iisstart.htm does work from local host without problem, so it seems that its a problem with my virtual directories.  Any help is appreciated.  Thanks.

     

     Server Error


    HTTP Error 500.0 - Internal Server Error

    Description: The page cannot be displayed because an internal server error has occurred.

    Error Code: 0x80070005

    Notification: BeginRequest

    Module: IIS Web Core

    Requested URL: http://localhost:80/ExpressionTest/default.htm

    Physical Path: C:\Users\Phillip\_Developement\Visual Studio 2005\WebSites\ExpressionTest\default.htm

    Logon User: Not yet determined

    Logon Method: Not yet determined

    Handler: Not yet determined

    Most likely causes:

    • IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    • IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    • IIS was not able to process configuration for the Web site or application.
    • The authenticated user does not have permission to use this DLL.
    • The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.

    What you can try:

    • Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    • Check the event logs to see if any additional information was logged.
    • Verify the permissions for the DLL.
    • Install the .NET Extensibility feature if the request is mapped to a managed handler.
    • Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.

    More Information... This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.

    Microsoft Knowledge Base Articles:

    • 294807

    Server Version Information: Internet Information Services 7.0.
    Monday, August 20, 2007 4:27 AM

Answers

  • User-471287741 posted

    Seem to have solved my issue with the following: 

    1.    Removed IIS and WAS.  Re-installed with the following settings:

    Web Management Tools (default) - IIS Management Console

    WWW Services - Application Development Features - ALL

                            - Common Http Features - ALL

                            - Health and Diagnostics - ALL

                            - Performance Tracing - ALL

                            - Security (default) - Request Filtering

    2.   Add "Users" to folder security options for each folder being added as a virtual directory in IIS7

    Worked!!!!

     
    I got the suggestion from the following blog

    Additional Question: Any suggestions on these IIS7 settings, or are the above settings OK for dev purposes?  Thanks.
     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, August 21, 2007 12:00 AM

All replies

  • User-1853252149 posted

    Obvious question:  What happened when you tried the suggestions in the "What you can try:" section?

    Jeff

    Monday, August 20, 2007 6:51 AM
  • User-471287741 posted

    I tried to create a trace rule for error 500.  I followed the setup as prescribed in "Troubleshooting Failed Requests using Tracing in IIS7".  I was able to successfully duplicate the lab example to capture a 404.2 error and create a log - running from wwwroot.  However, when I change the capture error to 500, and run from my virtual directory, it doesn't create a log.  Any suggestions.

    Monday, August 20, 2007 3:12 PM
  • User-471287741 posted

    Seem to have solved my issue with the following: 

    1.    Removed IIS and WAS.  Re-installed with the following settings:

    Web Management Tools (default) - IIS Management Console

    WWW Services - Application Development Features - ALL

                            - Common Http Features - ALL

                            - Health and Diagnostics - ALL

                            - Performance Tracing - ALL

                            - Security (default) - Request Filtering

    2.   Add "Users" to folder security options for each folder being added as a virtual directory in IIS7

    Worked!!!!

     
    I got the suggestion from the following blog

    Additional Question: Any suggestions on these IIS7 settings, or are the above settings OK for dev purposes?  Thanks.
     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Tuesday, August 21, 2007 12:00 AM
  • User-1940582592 posted

    Hi All,

    We were also having same issue while configuring IIS7 in Windows Server 2008. 2 days we searched like anything got so desperate and finally we got the issue. In our case it was due to compatilbility issues between 64bit OS and 32bin application....Thank god.. then we searched for setting 32bit support.

    You can 'Enable 32 bit Application' from 'Application Pool' advance settings which will enable 32bit mode 'Worker Process'. Check the following links.

    http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx

    http://learn.iis.net/page.aspx/201/32-bit-mode-worker-processes/

    http://forums.iis.net/p/1152526/1882555.aspx

    COOOOOOL.............

    Wednesday, June 2, 2010 5:45 AM
  • User-709130802 posted

    i am running server 2008 with iis7 and i get the same error

    i did install smtp to try and get php mail working

    that's not working either.

    no idea what i'm missing and i'm blowing up these boards looking for help

    anyone out there?????????

    Wednesday, January 26, 2011 10:15 AM
  • User-1672167363 posted

    Hello,

    I am sorry that you are having problems.

    Please create a new post with the details

    of your system & issues.

    Since you have a different set of issues much of what is in this old thread

    will not apply to your problem.

    Thank You,

    Martin :)

    Wednesday, January 26, 2011 11:28 AM