IIS 7 and Above
HTTP Error 500.0, Error Code: 0x80070005, virtual directory/applicati...
Last post Oct 02, 2013 11:23 PM by hpvaghani
Apr 19, 2007 10:46 AM|Russ_T|LINK
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
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:
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:
<shame> I hate not being able to solve this myself, the answer has to be in this forum somewhere </shame>
0x80070005 "HTTP Error 500.0"
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.
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 :-)
Apr 20, 2007 10:36 AM|Russ_T|LINK
Apr 20, 2007 12:09 PM|anilr|LINK
Apr 21, 2007 12:07 PM|Russ_T|LINK
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)
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?
Jul 02, 2007 08:34 PM|qbernard|LINK
Oct 02, 2013 11:23 PM|hpvaghani|LINK
But How Can i Resolve that ?