<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tobin Titus &#187; sp1</title>
	<atom:link href="http://tobint.com/blog/tag/sp1/feed/" rel="self" type="application/rss+xml" />
	<link>http://tobint.com</link>
	<description>Abstract Syntax</description>
	<lastBuildDate>Fri, 23 Jul 2010 14:00:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IIS cannot start after upgrade to Vista SP1</title>
		<link>http://tobint.com/blog/iis-cannot-start-after-upgrade-to-vista-sp1/</link>
		<comments>http://tobint.com/blog/iis-cannot-start-after-upgrade-to-vista-sp1/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 00:31:40 +0000</pubDate>
		<dc:creator>tobint</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[sp1]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://tobint.com/Blog/IIS-cannot-start-after-upgrade-to-Vista-SP1</guid>
		<description><![CDATA[
			
				
			
		
Some time ago, I tried to start up the IIS Management Console on my Vista machine and I received an exception. After trying a few quick fixes, I gave up. I had several VPC images that I worked from and I didn&#8217;t particularly need this machine to work when I had so many others.  However, [...]


Related posts:<ol><li><a href='http://tobint.com/blog/enabling-vsnet-2008-to-work-with-iis-70/' rel='bookmark' title='Permanent Link: Enabling VS.NET 2008 to work with IIS 7.0'>Enabling VS.NET 2008 to work with IIS 7.0</a></li>
<li><a href='http://tobint.com/blog/iis-7-0-error-support/' rel='bookmark' title='Permanent Link: IIS 7.0 Error Support'>IIS 7.0 Error Support</a></li>
<li><a href='http://tobint.com/blog/asp-net-1-1-iis-6-0-and-64-bit-windows/' rel='bookmark' title='Permanent Link: ASP.NET 1.1, IIS 6.0 and 64-bit Windows'>ASP.NET 1.1, IIS 6.0 and 64-bit Windows</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Ftobint.com%2Fblog%2Fiis-cannot-start-after-upgrade-to-vista-sp1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Ftobint.com%2Fblog%2Fiis-cannot-start-after-upgrade-to-vista-sp1%2F&amp;source=tobint&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Some time ago, I tried to start up the IIS Management Console on my Vista machine and I received an exception. After trying a few quick fixes, I gave up. I had several VPC images that I worked from and I didn&#8217;t particularly need this machine to work when I had so many others.  However, I&#8217;ve been doing a great deal of development on this machine now, and having IIS working is obviously rather handy. So, I tracked down the exception and solved my problem. I thought I&#8217;d go ahead and chronical my adventures for anyone else who is having this issue and needs help.</p>
<p>So first of all, the error that was displayed when I started inetmgr was as follows:</p>
<pre>---------------------------
Failed to connect
---------------------------
There was an error when trying to connect. Do you want to retype your credentials and try again?
Details:
Creating an instance of the COM component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344}
from the IClassFactory failed due to the following error: 8007000d.
---------------------------
Yes   No
---------------------------</pre>
<p>So I thought that this might be a configuration error. I tried to roll back to a known good configuration but appcmd failed with the following exception:</p>
<blockquote><p>ERROR ( hresult:80070426, message:Command execution failed.<br />
The service has not been started. )</p></blockquote>
<p>I tried to start the service with a good old fashion iisreset command and the following exception occurred:</p>
<blockquote><p>Attempting stop&#8230;<br />
Internet services successfully stopped<br />
Attempting start&#8230;<br />
Restart attempt failed.<br />
The IIS Admin Service or the World Wide Web Publishing Service, or a service dep<br />
endent on them failed to start.  The service, or dependent services, may had an<br />
error during its startup or may be disabled.</p></blockquote>
<p>Once again, I thought I&#8217;d go into the services console and try to start IIS manually. After trying to start it manually, it failed, stating that a dependent service failed. So I looked at Windows Process Activation Services (WAS) and noticed it was stopped. I tried to start it manually and found the following:</p>
<blockquote><p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Services<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Windows could not start the Windows Process Activation Service service on Local Computer.<br />
Error 13:<br />
The data is invalid.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
OK �<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p></blockquote>
<p>So I checked out the event log and found the following four entries:</p>
<p><strong>First Event</strong> :</p>
<blockquote><p>Log Name:      System<br />
Source:        Service Control Manager<br />
Date:          9/21/2008 11:52:00 PM<br />
Event ID:      7001<br />
Task Category: None<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Description:<br />
The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error:<br />
The data is invalid.</p></blockquote>
<p><strong>Second Event:</strong></p>
<blockquote><p>Log Name:      System<br />
Source:        Service Control Manager<br />
Date:          9/21/2008 11:52:00 PM<br />
Event ID:      7023<br />
Task Category: None<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Description:<br />
The Windows Process Activation Service service terminated with the following error:<br />
The data is invalid.</p></blockquote>
<p><strong>Third Event:</strong></p>
<blockquote><p>Log Name:      System<br />
Source:        Microsoft-Windows-WAS<br />
Date:          9/21/2008 11:51:59 PM<br />
Event ID:      5005<br />
Task Category: None<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Description:<br />
Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.</p></blockquote>
<p><strong>Fourt Event:</strong></p>
<blockquote><p>Log Name:      System<br />
Source:        Microsoft-Windows-WAS<br />
Date:          9/21/2008 11:51:59 PM<br />
Event ID:      5036<br />
Task Category: None<br />
Level:         Error<br />
Keywords:      Classic<br />
User:          N/A<br />
Description:<br />
The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.</p></blockquote>
<p>I checked through my event logs and realized that this started happening after I had upgraded to SP1. I hadn&#8217;t recognized this as the issue because, as I said, don&#8217;t typically use IIS on this machine on a regular basis. I decided to go back to my initial assessment that this had to be configuration related. I started doing comparisons between configuration of a pure Vista installation vs a Vista machine with SP1. I found that the schema had changed during the install, but something had been left out.  The schema file was updated to add the configurationHistory configuration section, but a corresponding section definition was not added to the applicationHost.config file.  </p>
<p>Whether this was what was causing the problem or not, I knew this was going to cause a problem. I added the following configuration entry to the applicationHost.config file under the section group for &#8220;system.applicationHost&#8221;. </p>
<pre>&lt;section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&gt;</pre>
<p>After this I started the WAS service, the World Wide Publishing Service and the IIS Admin Service. I opened up the IIS Management Console and everything was working just fine.</p>
<p>I&#8217;m not sure what exactly happened during the SP1 upgrade that caused this file to not be updated, but I&#8217;m pleased to report that all things are up and running again.</p>


<p>Related posts:<ol><li><a href='http://tobint.com/blog/enabling-vsnet-2008-to-work-with-iis-70/' rel='bookmark' title='Permanent Link: Enabling VS.NET 2008 to work with IIS 7.0'>Enabling VS.NET 2008 to work with IIS 7.0</a></li>
<li><a href='http://tobint.com/blog/iis-7-0-error-support/' rel='bookmark' title='Permanent Link: IIS 7.0 Error Support'>IIS 7.0 Error Support</a></li>
<li><a href='http://tobint.com/blog/asp-net-1-1-iis-6-0-and-64-bit-windows/' rel='bookmark' title='Permanent Link: ASP.NET 1.1, IIS 6.0 and 64-bit Windows'>ASP.NET 1.1, IIS 6.0 and 64-bit Windows</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://tobint.com/blog/iis-cannot-start-after-upgrade-to-vista-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
