<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag '0x80070005 &amp;quot;HTTP Error 500.0&amp;quot;'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=0x80070005+%26quot%3bHTTP+Error+500.0%26quot%3b&amp;orTags=0</link><description>Search results matching tag '0x80070005 &amp;quot;HTTP Error 500.0&amp;quot;'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>HTTP Error 500.0, Error Code: 0x80070005, virtual directory/application trouble</title><link>http://forums.iis.net/p/1100856/1673056.aspx#1673056</link><pubDate>Thu, 19 Apr 2007 14:46:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1673056</guid><dc:creator>Russ_T</dc:creator><cs:applicationKey>iis_7_-_troubleshooting-41</cs:applicationKey><description>
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;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.&amp;nbsp;&lt;/p&gt;
&lt;div style="margin:20px;padding:10px;"&gt;&lt;span&gt;
&lt;h1&gt;Server Error&lt;/h1&gt;

&lt;hr&gt;
&lt;h2&gt;&lt;i&gt;HTTP Error 500.0 - Internal Server Error&lt;/i&gt;&lt;/h2&gt;
&lt;/span&gt;
&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;
&lt;/font&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Description:&lt;/b&gt; The page cannot be displayed because an internal server error has occurred.
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Error Code:&lt;/b&gt; 0x80070005
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Notification:&lt;/b&gt; BeginRequest
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Module:&lt;/b&gt; IIS Web Core
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Requested URL:&lt;/b&gt; http://russ-laptop:80/test
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Physical Path:&lt;/b&gt; C:\Users\Russ\Desktop\test
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Logon User:&lt;/b&gt; Not yet determined
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Logon Method:&lt;/b&gt; Not yet determined
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Handler:&lt;/b&gt; Not yet determined
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Most likely causes:&lt;/b&gt; &lt;/font&gt;&lt;/p&gt;

&lt;ul&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt; 	
&lt;li&gt;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.&lt;/li&gt;
 	
&lt;li&gt;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.&lt;/li&gt;
 	
&lt;li&gt;IIS was not able to process configuration for the Web site or application.&lt;/li&gt;
 	
&lt;li&gt;The authenticated user does not have permission to use this DLL.&lt;/li&gt;
 	
&lt;li&gt;The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.&lt;/li&gt;
 &lt;/font&gt;&lt;/ul&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;What you can try:&lt;/b&gt; &lt;/font&gt;&lt;/p&gt;

&lt;ul&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt; 	
&lt;li&gt;Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.&lt;/li&gt;
 	
&lt;li&gt;Check the event logs to see if any additional information was logged.&lt;/li&gt;
 	
&lt;li&gt;Verify the permissions for the DLL.&lt;/li&gt;
 	
&lt;li&gt;Install the .NET Extensibility feature if the request is mapped to a managed handler.&lt;/li&gt;
 	
&lt;li&gt;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 &lt;a href="http://go.microsoft.com/fwlink/?LinkID=66439"&gt;here&lt;/a&gt;. &lt;/li&gt;
 &lt;/font&gt;&lt;/ul&gt;
&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;amp;IIS70Error=500,0,0x80070005,6000"&gt;
&lt;/a&gt;&lt;/font&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=62293&amp;amp;IIS70Error=500,0,0x80070005,6000"&gt;&lt;b&gt;More Information...&lt;/b&gt;
&lt;/a&gt; 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.
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Microsoft Knowledge Base Articles: &lt;/b&gt; &lt;/font&gt;&lt;/p&gt;

&lt;ul&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;
&lt;li&gt;294807&lt;/li&gt;
&lt;/font&gt;&lt;/ul&gt;

&lt;hr&gt;
&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;&lt;b&gt;Server Version Information:&lt;/b&gt; Internet Information Services 7.0.&lt;/font&gt;
&lt;/div&gt;&lt;p&gt;

&amp;lt;shame&amp;gt; I hate not being able to solve this myself, the answer has to be in this forum somewhere &amp;lt;/shame&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>