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:
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.