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.
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. </div>
<shame> I hate not being able to solve this myself, the answer has to be in this forum somewhere </shame>
Thank you
0x80070005 "HTTP Error 500.0"
http://russtaylor.co.uk for my little website, just some ramblings, you'll agree it was a waste of your time visiting it.
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
Software Design Engineer
IIS Core Server
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.
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)
4 Posts
HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 19, 2007 10:46 AM|Russ_T|LINK
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.
<div style="border: 1px dotted rgb(0, 0, 0); margin: 20px; padding: 10px;">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:
What you can try:
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:
Server Version Information: Internet Information Services 7.0. </div>
<shame> I hate not being able to solve this myself, the answer has to be in this forum somewhere </shame>
Thank you
0x80070005 "HTTP Error 500.0"
2343 Posts
Microsoft
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 19, 2007 01:59 PM|anilr|LINK
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.
Software Design Engineer
IIS Core Server
4 Posts
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 19, 2007 05:38 PM|Russ_T|LINK
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 :-)
4 Posts
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 20, 2007 10:36 AM|Russ_T|LINK
2343 Posts
Microsoft
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 20, 2007 12:09 PM|anilr|LINK
Software Design Engineer
IIS Core Server
4 Posts
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Apr 21, 2007 12:07 PM|Russ_T|LINK
1 Post
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Jun 26, 2007 04:50 AM|phubaut|LINK
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)
4 Posts
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Jul 02, 2007 06:14 PM|tricky354|LINK
hi there, i'm getting the same error as above, how & where do i go to find (sysinternals) so i can check these permissions?
7019 Posts
MVP
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Jul 02, 2007 08:34 PM|qbernard|LINK
Try -
http://www.microsoft.com/technet/sysinternals/utilities/filemon.mspx
Bernard Cheah
1 Post
Re: HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble
Oct 02, 2013 11:23 PM|hpvaghani|LINK
But How Can i Resolve that ?
<div class="content-container"></div> <div class="content-container"></div>