SP1, RC1 causes web server to fail to start<p align=left>I have an existing Vista machine running IIS/W3SVC with .NET v3.5 installed.  I run several services off the web server including CM and SSRS.</p> <p align=left> </p> <p align=left>After applying SP1 the WWW service fails to start saying WAS isn't running. Trying to start WAS generates a useless message saying an element can not be found (could have at least told me the element).  Looking in the event log I see a group of errors from WAS saying:</p> <p align=left> </p><font size=1> <p>Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.  Data=80070490 </p></font><font size=1> <p> </p> <p align=left>The Windows Process Activation Service failed to generate an application pool config file for application pool '*'. The error type is '0'. To resolve this issue, please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.</p> <p> </p><font size=1> <p>The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.  Data= 80070490</p> <p align=left> </p> <p align=left><font size=2>The file exists, appears to be a valid file and contains the appropriate entries for the sites and webs I've configured.</font></p> <p align=left><font size=2></font> </p> <p align=left><font size=2>Michael Taylor - 12/11/07</font></p> <p align=left><font size=2><a title="http://p3net.mvps.org" href="http://p3net.mvps.org">http://p3net.mvps.org</a></font></p> <p align=left> </p> <p> </p> <p align=left> </p> <p align=left></font></font> </p>© 2009 Microsoft Corporation. All rights reserved.Thu, 11 Dec 2008 23:37:27 Z456da543-2301-4ba4-86d2-c3e016554255http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#456da543-2301-4ba4-86d2-c3e016554255http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#456da543-2301-4ba4-86d2-c3e016554255TaylorMichaelLhttp://social.technet.microsoft.com/Profile/en-US/?user=TaylorMichaelLSP1, RC1 causes web server to fail to start<p align=left>I have an existing Vista machine running IIS/W3SVC with .NET v3.5 installed.  I run several services off the web server including CM and SSRS.</p> <p align=left> </p> <p align=left>After applying SP1 the WWW service fails to start saying WAS isn't running. Trying to start WAS generates a useless message saying an element can not be found (could have at least told me the element).  Looking in the event log I see a group of errors from WAS saying:</p> <p align=left> </p><font size=1> <p>Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.  Data=80070490 </p></font><font size=1> <p> </p> <p align=left>The Windows Process Activation Service failed to generate an application pool config file for application pool '*'. The error type is '0'. To resolve this issue, please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.</p> <p> </p><font size=1> <p>The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.  Data= 80070490</p> <p align=left> </p> <p align=left><font size=2>The file exists, appears to be a valid file and contains the appropriate entries for the sites and webs I've configured.</font></p> <p align=left><font size=2></font> </p> <p align=left><font size=2>Michael Taylor - 12/11/07</font></p> <p align=left><font size=2><a title="http://p3net.mvps.org" href="http://p3net.mvps.org">http://p3net.mvps.org</a></font></p> <p align=left> </p> <p> </p> <p align=left> </p> <p align=left></font></font> </p>Tue, 11 Dec 2007 14:07:38 Z2008-01-03T20:26:53Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#6c17956d-8be4-4d2b-833a-490abdd109b4http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#6c17956d-8be4-4d2b-833a-490abdd109b4TaylorMichaelLhttp://social.technet.microsoft.com/Profile/en-US/?user=TaylorMichaelLSP1, RC1 causes web server to fail to start<p>More information.  I was hoping that it was a conflict with existing settings in IIS so I uninstall IIS and tried to reinstall.  Reinstalling IIS fails and generates 1500 (yes, 1500) errors in the event log.  Each entry says it is changing the state of something and then changing it to install.  After a while the installer comes back and says it failed to install some components (namely all of them).  The event log errors all came from Servicing.  The only good side to this problem is that my machine logs in faster because it doesn't have to wait for WAS to error out.  Otherwise I'm still without IIS and SSRS.</p> <p align=left> </p> <p align=left>I'm contemplating removing SP1 but it has some fixes that I need.  I'll probably rollback unless someone can provide a solution.</p> <p align=left> </p> <p align=left>Michael Taylor - 12/18/07</p> <p align=left><a title="http://p3net.mvps.org" href="http://p3net.mvps.org">http://p3net.mvps.org</a></p> <p align=left><font face=Arial size=2></font> </p>Tue, 18 Dec 2007 16:04:15 Z2007-12-18T16:04:15Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#c1fed120-729c-43b3-8946-85b83ec0e5a6http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#c1fed120-729c-43b3-8946-85b83ec0e5a6Benjamin Dayhttp://social.technet.microsoft.com/Profile/en-US/?user=Benjamin%20DaySP1, RC1 causes web server to fail to start<p>I'm having a similar problem.  IIS won't start because WAS won't start.  When I try to start WAS (net start was), I get the following message in the event log:</p> <p align=left> </p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>&quot;The Windows Process Activation Service service terminated with the following error: <br>The system cannot find the file specified.&quot;</p></blockquote> <p align=left> </p> <p align=left>Unless I'm missing something, I don't see the name of the offending file in event log entry.  </p> <p align=left> </p> <blockquote dir=ltr style="margin-right:0px"> <p align=left>Log Name:      System<br>Source:        Service Control Manager<br>Date:          12/27/2007 6:58:35 PM<br>Event ID:      7023<br>Task Category: None<br>Level:         Error<br>Keywords:      Classic<br>User:          N/A<br>Computer:      benday-vista.work.benday.com<br>Description:<br>The Windows Process Activation Service service terminated with the following error: <br>The system cannot find the file specified.<br>Event Xml:<br>&lt;Event xmlns=&quot;<a title="http://schemas.microsoft.com/win/2004/08/events/event" href="http://schemas.microsoft.com/win/2004/08/events/event">http://schemas.microsoft.com/win/2004/08/events/event</a>&quot;&gt;<br>  &lt;System&gt;<br>    &lt;Provider Name=&quot;Service Control Manager&quot; Guid=&quot;{555908D1-A6D7-4695-8E1E-26931D2012F4}&quot; EventSourceName=&quot;Service Control Manager&quot; /&gt;<br>    &lt;EventID Qualifiers=&quot;49152&quot;&gt;7023&lt;/EventID&gt;<br>    &lt;Version&gt;0&lt;/Version&gt;<br>    &lt;Level&gt;2&lt;/Level&gt;<br>    &lt;Task&gt;0&lt;/Task&gt;<br>    &lt;Opcode&gt;0&lt;/Opcode&gt;<br>    &lt;Keywords&gt;0x80000000000000&lt;/Keywords&gt;<br>    &lt;TimeCreated SystemTime=&quot;2007-12-27T23:58:35.000Z&quot; /&gt;<br>    &lt;EventRecordID&gt;53890&lt;/EventRecordID&gt;<br>    &lt;Correlation /&gt;<br>    &lt;Execution ProcessID=&quot;0&quot; ThreadID=&quot;0&quot; /&gt;<br>    &lt;Channel&gt;System&lt;/Channel&gt;<br>    &lt;Computer&gt;benday-vista.work.benday.com&lt;/Computer&gt;<br>    &lt;Security /&gt;<br>  &lt;/System&gt;<br>  &lt;EventData&gt;<br>    &lt;Data Name=&quot;param1&quot;&gt;Windows Process Activation Service&lt;/Data&gt;<br>    &lt;Data Name=&quot;param2&quot;&gt;%%2&lt;/Data&gt;<br>  &lt;/EventData&gt;<br>&lt;/Event&gt;</p></blockquote> <p align=left> </p> <p align=left> </p> <p align=left>This is cramping my ability to do dev on this box.  Any feedback is appreciated.</p> <p align=left> </p> <p align=left>Thanks, </p> <p align=left>-Ben Day</p> <p align=left> </p> <p align=left><font size=1> </p></font>Fri, 28 Dec 2007 00:26:48 Z2007-12-28T00:26:48Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#9826b192-1762-472a-bfa7-38b02efe3257http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#9826b192-1762-472a-bfa7-38b02efe3257Benjamin Dayhttp://social.technet.microsoft.com/Profile/en-US/?user=Benjamin%20DaySP1, RC1 causes web server to fail to start<p>I found a solution to my WAS problem.</p> <p align=left> </p> <p align=left><a title="http://technet2.microsoft.com/windowsserver2008/en/library/0618d6b1-6b0d-4358-a5fd-7d610cbfc0921033.mspx?mfr=true" href="http://technet2.microsoft.com/windowsserver2008/en/library/0618d6b1-6b0d-4358-a5fd-7d610cbfc0921033.mspx?mfr=true">http://technet2.microsoft.com/windowsserver2008/en/library/0618d6b1-6b0d-4358-a5fd-7d610cbfc0921033.mspx?mfr=true</a></p> <p align=left> </p> <p align=left>Essentially, a temp directory used by WAS (c:\inetpub\temp\appPools) wasn't there.  I re-created the directory and set the permissions as shown in the link above and was able to restart WAS and W3SVC.</p> <p align=left> </p> <p align=left>-Ben</p> <p align=left><font face=Arial size=2></font> </p>Mon, 31 Dec 2007 23:31:30 Z2007-12-31T23:31:30Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#c113ca9f-e618-4d53-8fa9-f811bae2d586http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#c113ca9f-e618-4d53-8fa9-f811bae2d586TaylorMichaelLhttp://social.technet.microsoft.com/Profile/en-US/?user=TaylorMichaelLSP1, RC1 causes web server to fail to start<p>I was finally able to get WAS and W3SVC to run under SP1 RC on my machine.  It turns out that the upgrade process did not properly update my applicationhost.config file.  As a result WAS failed to start.  I was missing the configHistory section definition from my file.  </p> <p align=left> </p> <p align=left>I  diagnosed this problem by looking through TechNet for the various causes of a WAS failure.  One of the ongoing themes was to be sure to have a backup of the config file.  Further reading indicated that any changes to the file should generate a backup automatically but it wasn't on my machine. I looked in the config file to see where it was placing the backups to see if there was a problem and, to my surprise, there was no such section.  Adding the section caused a different (and more useful) error from WAS.  The error said that <em>configHistory</em> was not a defined section.  The schema for the section is in TechNet but the section definition is not.  I loaded up my Vista VM, applied the SP and compared the two config files.  Copying the section definition from the good file to my machine resolved the issue.  I still don't have a <em>configHistory</em> section but the definition is available. </p> <p align=left> </p> <p align=left>I would propose that MS enhance their error message for bad configuration files to include the section/element that can't be found.  Although I wasn't able to duplicate any WAS failures in my VM (I tried it 3 times with differing software installed) I suspect that there is a problem somewhere such that the install should have either generated an error or properly updated my config file.  Nevertheless my problem is now resolved.</p> <p align=left> </p> <p align=left>Michael Taylor - 1/3/08</p> <p align=left><a title="http://p3net.mvps.org" href="http://p3net.mvps.org">http://p3net.mvps.org</a></p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Thu, 03 Jan 2008 20:26:45 Z2008-01-03T20:26:53Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#ca960133-51d8-4588-9a0a-0916ee52883ahttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#ca960133-51d8-4588-9a0a-0916ee52883ajustinmagaramhttp://social.technet.microsoft.com/Profile/en-US/?user=justinmagaramSP1, RC1 causes web server to fail to start<p align=left><font face=Arial size=2>do you mind posting the relevant section of the config file?</font></p>Sat, 16 Feb 2008 19:46:54 Z2008-02-16T19:46:54Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#8c99961b-0dc4-4aa2-9723-5b73b7ef51cbhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#8c99961b-0dc4-4aa2-9723-5b73b7ef51cbjustinmagaramhttp://social.technet.microsoft.com/Profile/en-US/?user=justinmagaramSP1, RC1 causes web server to fail to start<p align=left><font face=Arial size=2></font> </p> <p>i added the &quot;configHistory&quot; element to the .config file (shown below) at C:\Windows\System32\inetsrv\config, started WAS and then was able to start IIS. let me know if i've done something wrong here. thanks.</p> <p align=left> </p> <p align=left>        &lt;sectionGroup name=&quot;system.applicationHost&quot;&gt;<br>            &lt;section name=&quot;applicationPools&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;customMetadata&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;listenerAdapters&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;log&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;sites&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;webLimits&quot; allowDefinition=&quot;AppHostOnly&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>            &lt;section name=&quot;configHistory&quot; overrideModeDefault=&quot;Deny&quot; /&gt;<br>        &lt;/sectionGroup&gt;<br></p>Sat, 16 Feb 2008 20:03:41 Z2008-02-16T20:03:41Zhttp://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#ef560c1e-c9df-4f32-85a7-4ec201befa88http://social.technet.microsoft.com/Forums/en-US/itprovistasp/thread/456da543-2301-4ba4-86d2-c3e016554255#ef560c1e-c9df-4f32-85a7-4ec201befa88TaylorMichaelLhttp://social.technet.microsoft.com/Profile/en-US/?user=TaylorMichaelLSP1, RC1 causes web server to fail to start<font color="#0000ff" size=2><font color="#0000ff" size=2> <p align=left> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Snippet</span></div><font color="#0000ff" size=2><font color="#0000ff" size=2> <p align=left>&lt;</font></font><font color="#800000" size=2><font color="#800000" size=2>configSections</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>&gt;</p> <p align=left>   &lt;</font></font><font color="#800000" size=2><font color="#800000" size=2>sectionGroup</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>name</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>system.applicationHost</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>&gt;</p> <p align=left>      &lt;</font></font><font color="#800000" size=2><font color="#800000" size=2>section</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>name</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>applicationPools</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>allowDefinition</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>AppHostOnly</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>overrideModeDefault</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>Deny</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> /&gt;</p> <p align=left>      &lt;</font></font><font color="#800000" size=2><font color="#800000" size=2>section</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>name</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>configHistory</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>allowDefinition</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>AppHostOnly</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> </font></font><font color="#ff0000" size=2><font color="#ff0000" size=2>overrideModeDefault</font></font><font color="#0000ff" size=2><font color="#0000ff" size=2>=</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2>Deny</font></font><font size=2>&quot;</font><font color="#0000ff" size=2><font color="#0000ff" size=2> /&gt;</font></font></p> <p align=left><font color="#0000ff" size=2><font color="#0000ff" size=2>       ...</font></font></p> <p align=left> </p></div></div> <p align=left> </p></font></font> <p></p> <p align=left><font color="#0000ff" size=2><font color="#0000ff" size=2>Michael Taylor - 2/17/08</font></font></p> <p align=left><font color="#0000ff"><a title="http://p3net.mvps.org" href="http://p3net.mvps.org">http://p3net.mvps.org</a></font></p> <p align=left> </p> <p align=left><font color="#0000ff" size=2><font color="#0000ff" size=2> </p> <p></p></font></font> <p align=left><font face=Arial size=2></font> </p>Mon, 18 Feb 2008 01:13:06 Z2008-02-18T01:13:06Z