« Previous Next »

Thread: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

Last post 07-02-2007 8:34 PM by qbernard. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 04-19-2007, 10:46 AM

    • Russ_T
    • Not Ranked
    • Joined on 04-19-2007, 2:36 PM
    • Posts 4

    HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    Hi all,

     

    Sorry if this has already been answered, I'm going spare now and I've searched this forum and google for, well since before lunch and it's now nearly 4pm. I cannot find an answer to my specific problem, or any errors in logs etc. I have had to resort to asking this question.

     

    I have a fresh IIS7 install, Vista business 32, and php 5.2.something installed. The default web folder displays html and phpinfo() fine, it's working great. However when I add a virtual directory or application I get the following error.

     

    I this directory has the default html and png file as per wwwroot and a phpinfo file so I can test, but it won't even display the directory listing. From my searches I noticed I might have to have a web.config file in there for a virtual dir? There definitely isn't one, but then this error shows for both virtual dirs and applications so who knows. 

    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://russ-laptop:80/test

    Physical Path: C:\Users\Russ\Desktop\test

    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.

    <shame> I hate not being able to solve this myself, the answer has to be in this forum somewhere </shame>

     

    Thank you 

    http://russtaylor.co.uk for my little website, just some ramblings, you'll agree it was a waste of your time visiting it.
  • 04-19-2007, 1:59 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    The win32 error code is ACCESS_DENIED - so it is probably related to not having access to some resource - try procmon (from sysinternals) and see if you can spot an access-denied there - I would normally say you do not have access to web.config etc, but that should give you a more detailed error message with config file-name etc.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-19-2007, 5:38 PM In reply to

    • Russ_T
    • Not Ranked
    • Joined on 04-19-2007, 2:36 PM
    • Posts 4

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    Absolutely spot on, I had turned off read only, but now I've gone into the folders security permissions and given everyone on this laptop full control.

     

    I guess I need to change that a bit now as the folder appears to be shared because of this? Any ideas please?

     

    Thank you for your help :-)
     

    http://russtaylor.co.uk for my little website, just some ramblings, you'll agree it was a waste of your time visiting it.
  • 04-20-2007, 10:36 AM In reply to

    • Russ_T
    • Not Ranked
    • Joined on 04-19-2007, 2:36 PM
    • Posts 4

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    I've set everyone to have permissions of read, read&execute, list folder contents, and that works as well :-)
    http://russtaylor.co.uk for my little website, just some ramblings, you'll agree it was a waste of your time visiting it.
  • 04-20-2007, 12:09 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    Gioving IIS_IUSRS group read permission should work and would be more secure.
    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-21-2007, 12:07 PM In reply to

    • Russ_T
    • Not Ranked
    • Joined on 04-19-2007, 2:36 PM
    • Posts 4

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    That didn't work for me, but IUSR does. Thanks very much for your help, much better than using everyone.
    http://russtaylor.co.uk for my little website, just some ramblings, you'll agree it was a waste of your time visiting it.
  • 06-26-2007, 4:50 AM In reply to

    • phubaut
    • Not Ranked
    • Joined on 09-30-2004, 11:23 AM
    • Brussels, Belgium
    • Posts 1

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

     Actually, I noticed that in addition to IUSR being granted read access, you have also to have "NT AUTHORITY\NETWORK SERVICE" being granted read access for anonymous browsing to work. This may be often the case "by default" but it has to be explicitely granted if, for instance, you create a virtual directory or application pointing to "C:\Users\some_user\Documents\web site" (Vista Ultimate default security settings)

    Pierre
  • 07-02-2007, 6:14 PM In reply to

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

    hi there, i'm getting the same error as above, how & where do i go to find (sysinternals) so i can check these permissions? 

  • 07-02-2007, 8:34 PM In reply to

    Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble

Page 1 of 1 (9 items)
Microsoft Communities