<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>Tobin Titus Blog : sp1</title><link>http://blogs.iis.net/tobintitus/archive/tags/sp1/default.aspx</link><description>Tags: sp1</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS cannot start after upgrade to Vista SP1</title><link>http://blogs.iis.net/tobintitus/archive/2008/09/22/iis-cannot-start-after-upgrade-to-vista-sp1.aspx</link><pubDate>Mon, 22 Sep 2008 04:31:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:2636015</guid><dc:creator>TobinTitus</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/tobintitus/rsscomments.aspx?PostID=2636015</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/tobintitus/commentapi.aspx?PostID=2636015</wfw:comment><comments>http://blogs.iis.net/tobintitus/archive/2008/09/22/iis-cannot-start-after-upgrade-to-vista-sp1.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;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't particularly need this machine to work when I had so many others.&amp;nbsp; However, I'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'd go ahead and chronical my adventures for anyone else who is having this issue and needs help.&lt;/P&gt;
&lt;P mce_keep="true"&gt;So first of all, the error that was displayed when I started inetmgr was as follows:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;PRE&gt;---------------------------
Failed to connect
---------------------------
There was an error when trying to connect. Do you want to retype your credentials and try again? &lt;BR&gt;Details: 
Creating an instance of the COM component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} &lt;BR&gt;from the IClassFactory failed due to the following error: 8007000d.
---------------------------
Yes   No   
---------------------------&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;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:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P mce_keep="true"&gt;ERROR ( hresult:80070426, message:Command execution failed. &lt;BR&gt;The service has not been started. ) &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I tried to start the service with a good old fashion iisreset command and the following exception occurred:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Attempting stop...&lt;BR&gt;Internet services successfully stopped&lt;BR&gt;Attempting start...&lt;BR&gt;Restart attempt failed.&lt;BR&gt;The IIS Admin Service or the World Wide Web Publishing Service, or a service dep&lt;BR&gt;endent on them failed to start.&amp;nbsp; The service, or dependent services, may had an&lt;BR&gt;error during its startup or may be disabled.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Once again, I thought I'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:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;---------------------------&lt;BR&gt;Services&lt;BR&gt;---------------------------&lt;BR&gt;Windows could not start the Windows Process Activation Service service on Local Computer. &lt;BR&gt;Error 13: &lt;BR&gt;The data is invalid. &lt;BR&gt;---------------------------&lt;BR&gt;OK&amp;nbsp;&amp;nbsp; &lt;BR&gt;---------------------------&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So I checked out the event log and found the following four entries:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;First Event&lt;/STRONG&gt;&amp;nbsp;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Control Manager&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/21/2008 11:52:00 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7001&lt;BR&gt;Task Category: None&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Description:&lt;BR&gt;The World Wide Web Publishing Service service depends on the Windows Process Activation Service service which failed to start because of the following error: &lt;BR&gt;The data is invalid.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Second Event:&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Control Manager&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/21/2008 11:52:00 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7023&lt;BR&gt;Task Category: None&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Description:&lt;BR&gt;The Windows Process Activation Service service terminated with the following error: &lt;BR&gt;The data is invalid.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Third Event:&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft-Windows-WAS&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/21/2008 11:51:59 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5005&lt;BR&gt;Task Category: None&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Description:&lt;BR&gt;Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Fourt Event:&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;BR&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft-Windows-WAS&lt;BR&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/21/2008 11:51:59 PM&lt;BR&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5036&lt;BR&gt;Task Category: None&lt;BR&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error&lt;BR&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;BR&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;BR&gt;Description:&lt;BR&gt;The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I checked through my event logs and realized that this started happening after I had upgraded to SP1. I hadn't recognized this as the issue because, as I said, don'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.&amp;nbsp; The schema file was updated to add the configurationHistory configuration section, but a corresponding section definition was not added to the applicationHost.config file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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&amp;nbsp;section group for "system.applicationHost".&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;lt;section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;I'm not sure what exactly happened during the SP1 upgrade that caused this file to not be updated, but I'm pleased to report that all things are up and running again.&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=2636015" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/tobintitus/archive/tags/configuration/default.aspx">configuration</category><category domain="http://blogs.iis.net/tobintitus/archive/tags/errors/default.aspx">errors</category><category domain="http://blogs.iis.net/tobintitus/archive/tags/vista/default.aspx">vista</category><category domain="http://blogs.iis.net/tobintitus/archive/tags/sp1/default.aspx">sp1</category><category domain="http://blogs.iis.net/tobintitus/archive/tags/iis+7.0/default.aspx">iis 7.0</category></item></channel></rss>