IIS issues

Every time I run IISRESET on my exch 2010 CAS server (IIS 7) it hoses OWA, meaning I can no longer get to mail.contoso.com. I then have to reboot the server to get OWA running again. Im wondering if there is a problem with my IIS? Also, when I run iisreset /noforce it fails everytime.

Any ideas why this behavior is happening? I cant keep rebooting the server every time I need to bounce the IIS service. Help?
DEFclubAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Viral RathodConsultantCommented:
Can check the Event viewer for any IIS releated events ?
DEFclubAuthor Commented:
heres a warning:
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          12/28/2010 10:51:51 AM
Event ID:      5138
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sd-cas01.wfinet.com
Description:
A worker process '2352' serving application pool 'MSExchangeSyncAppPool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5138</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-28T18:51:51.000000000Z" />
    <EventRecordID>9900</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">MSExchangeSyncAppPool</Data>
    <Data Name="ProcessID">2352</Data>
    <Data Name="param3">0</Data>
    <Data Name="ProtocolID">http</Data>
    <Binary>B4050780</Binary>
  </EventData>
</Event>
DEFclubAuthor Commented:
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          12/28/2010 10:51:50 AM
Event ID:      5138
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sd-cas01.wfinet.com
Description:
A worker process '7952' serving application pool 'MSExchangePowerShellAppPool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5138</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-28T18:51:50.000000000Z" />
    <EventRecordID>9899</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">MSExchangePowerShellAppPool</Data>
    <Data Name="ProcessID">7952</Data>
    <Data Name="param3">0</Data>
    <Data Name="ProtocolID">http</Data>
    <Binary>B4050780</Binary>
  </EventData>
</Event>
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

DEFclubAuthor Commented:
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          12/27/2010 8:17:11 PM
Event ID:      5009
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sd-cas01.wfinet.com
Description:
A process serving application pool 'MSExchangeOWAAppPool' terminated unexpectedly. The process id was '11008'. The process exit code was '0x103'.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5009</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-28T04:17:11.000000000Z" />
    <EventRecordID>9278</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">MSExchangeOWAAppPool</Data>
    <Data Name="ProcessID">11008</Data>
    <Data Name="ExitCode">103</Data>
  </EventData>
</Event>
DEFclubAuthor Commented:
DEFclubAuthor Commented:
no empty framework folder. I have one framework folder and one framework64 folder and no beta installed. FYI
madhubabusCommented:
After running IISreset , verify if the IIS & its dependent services are really up & running.
Open IIS manager and check if the service is running
DEFclubAuthor Commented:
After I run IISRESET, all the services start up fine. But OWA breaks and the logon page does not come up. If I go into services and restart the WWW service manually it then comes up.

After I ran IISRESET I got this error in the logs:

Log Name:      System
Source:        Microsoft-Windows-DistributedCOM
Date:          12/30/2010 3:44:01 PM
Event ID:      10016
Task Category: None
Level:         Error
Keywords:      Classic
User:          IIS APPPOOL\DefaultAppPool
Computer:      sd-cas01.wfinet.com
Description:
The application-specific permission settings do not grant Local Launch permission for the COM Server application with CLSID
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
 and APPID
{A9E69610-B80D-11D0-B9B9-00A0C922E750}
 to the user IIS APPPOOL\DefaultAppPool SID (S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
    <EventID Qualifiers="49152">10016</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-30T23:44:01.000000000Z" />
    <EventRecordID>10206</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security UserID="S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415" />
  </System>
  <EventData>
    <Data Name="param1">application-specific</Data>
    <Data Name="param2">Local</Data>
    <Data Name="param3">Launch</Data>
    <Data Name="param4">{A9E69610-B80D-11D0-B9B9-00A0C922E750}</Data>
    <Data Name="param5">{A9E69610-B80D-11D0-B9B9-00A0C922E750}</Data>
    <Data Name="param6">IIS APPPOOL</Data>
    <Data Name="param7">DefaultAppPool</Data>
    <Data Name="param8">S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415</Data>
    <Data Name="param9">LocalHost (Using LRPC)</Data>
  </EventData>
</Event>
DEFclubAuthor Commented:
after I manually resarted the www service I got these errors:
Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          12/30/2010 3:48:52 PM
Event ID:      5138
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sd-cas01.wfinet.com
Description:
A worker process '8020' serving application pool 'MSExchangeSyncAppPool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
    <EventID Qualifiers="32768">5138</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-30T23:48:52.000000000Z" />
    <EventRecordID>10211</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="AppPoolID">MSExchangeSyncAppPool</Data>
    <Data Name="ProcessID">8020</Data>
    <Data Name="param3">0</Data>
    <Data Name="ProtocolID">http</Data>
    <Binary>B4050780</Binary>
  </EventData>
</Event>

and

Log Name:      Application
Source:        MSExchange ActiveSync
Date:          12/30/2010 3:48:54 PM
Event ID:      1033
Task Category: Configuration
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      sd-cas01.wfinet.com
Description:
The setting ExternalProxy in the Web.Config file was not valid. The previous value was null and has been changed to .
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchange ActiveSync" />
    <EventID Qualifiers="32772">1033</EventID>
    <Level>3</Level>
    <Task>2</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-12-30T23:48:54.000000000Z" />
    <EventRecordID>16991</EventRecordID>
    <Channel>Application</Channel>
    <Computer>sd-cas01.wfinet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>ExternalProxy</Data>
    <Data>null</Data>
    <Data>
    </Data>
  </EventData>
</Event>
madhubabusCommented:
This seems to be COM permissions.
Command prompt->dcomcnfg->component services->computers->right click on my computer->properties.
Go to COM security
Under launch and activation permissions
Add the SID S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415 and provide local launch permissions.

then try and check if IISRESET still throws same error in eventlog.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DEFclubAuthor Commented:
I found that the SID S-1-5-82-3006700770-424185619-1745488364-794895919-400469641 refers to my DefaultAppPool. However, I cant figure out how to add that to the com permissions, as it is not an account that I can choose to add. make sense?
DEFclubAuthor Commented:
?
DEFclubAuthor Commented:
?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.