Exchange Service Host will not start
I just installed Exchange Rollup 4 for service pack 1 on my Exchange Server 2007 and after a reboot the "Microsoft Exchange Service Host" fails to start. here is the only error that is logged: Event Type:ErrorEvent Source:MSExchange CommonEvent Category:General Event ID:4999Date:11/10/2008Time:4:00:38 PMUser:N/AComputer:ARPMAINDescription:Watson report about to be sent to dw20.exe for process id: 10228, with parameters: E12, c-RTL-AMD64, 08.01.0311.002, M.E.ServiceHost, M.E.RPCOverHTTPAutoconfig, M.E.S.R.Servicelet.UpdateIISSettings, System.InvalidCastException, d3a4, 08.01.0311.002. ErrorReportingEnabled: False For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. The server is a Dell PowerEdge T300 and is running Server 2003 Standard X64, is running AD, is a domain controller, and a GC.
November 10th, 2008 6:13pm

Hello,After you install Rollup 4 for Exchange Server 2007 sp1,Some Exchange related service may not start after you reboot the server.KB 944752 has logged the scenario that it may occur. Please refer to that article:Exchange Server 2007 managed code services do not start after you install an update rollup for Exchange Server 2007http://support.microsoft.com/kb/944752/en-usHere is a nice little script I found on the Guillaume Bordier's blog that updates ALL your config files according to the recommended workaround mentioned in that kb article.Exchange Server 2007 rollups nightmares - automate the .config file modificationhttp://blogs.technet.com/gbordier/archive/2008/07/11/exchange-server-2007-rollups-nighmares.aspxhope it helps
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2008 2:29am

anothervictim of RU4 and that powershell script worked well for me. thanks
November 11th, 2008 1:02pm

I've tried this script, and tried manually editing the files to no avail. The Exchange Service Host still fails to start. It says that it terminated unexpectedly and then registers the original error in the event logs.
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2008 2:52pm

Hi, Microsoft.Exchange.ServiceHost.exe.config file should like below: <configuration> <runtime> <gcServer enabled="ture" /> <generatePublisherEvidence enable="false" /> </runtime> </configuration> Besides,please try to find error event from system log and post here. Hope it helps. Xiu
November 12th, 2008 5:24am

There is no error in the system log, only the application logs this is the error when I try to manuyally start it: Event Type:ErrorEvent Source:MSExchange CommonEvent Category:General Event ID:4999Date:11/11/2008Time:10:27:13 PMUser:N/AComputer:MAIL1Description:Watson report about to be sent to dw20.exe for process id: 2676, with parameters: E12, c-RTL-AMD64, 08.01.0311.002, M.E.ServiceHost, M.E.RPCOverHTTPAutoconfig, M.E.S.R.Servicelet.UpdateIISSettings, System.InvalidCastException, d3a4, 08.01.0311.002. ErrorReportingEnabled: False For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. I've also confirmed that the Microsoft.Exchange.ServiceHost.exe.config contains: <configuration> <runtime> <gcServer enabled="true" /> <generatePublisherEvidence enabled="false" /> </runtime></configuration> Things seem to be working OK, but I'm worried that this service does something that I will need soon. I'm not really sure what this service does.
Free Windows Admin Tool Kit Click here and download it now
November 12th, 2008 6:15pm

Hi, MicrosoftExchange Service Host: It used to configures the RPC virtual directory in Internet Information Services (IIS), and registry data for ValidPorts, NSPI Interface Protocol Sequences, and AllowAnonymous for Outlook Anywhere. This service is dependent upon the MicrosoftExchangeActiveDirectory Topology service. Logon on account is Local System account. 1. Please check if you have settings on RPC virtual directory. 2. Please check logon account for MicrosoftExchange Service Host. 3. Please restart MicrosoftExchangeActiveDirectory Topology service and then try to restart MicrosoftExchange Service Host. 4. Please check the version of .net framework if it is v2.0.50727 How to determine which versions of the .NET Framework are installed and whether service packs have been applied 5. Please check if you have set proxy on Exchange Server. You can run "Proxycfg.exe" from a command prompt and then check IE proxy from properties of Internet Explorer. We recommend you to remove proxy settings and then restart MicrosoftExchange Service Host. 6. Please try to create ServicesPipeTimeout Dword key and then set the value as 240,000. After that, please reboot the server and then check the issue. Detail steps you can refer to the article below: The Windows Trace Session Manager service does not start and Event ID 7000 occurs http://support.microsoft.com/kb/839803 Besides, Id like to know whether all the Exchange Server role installed on separate machines. Please ensure that all the Exchange Server role has been packed with rollup 4. If all the steps do not help. Then I recommend you to perform a full backup and then uninstall rollup4 and then re-install it. More information share with you: Multiple Exchange Server 2007 services do not start when you upgrade a computer that is also running Windows Server 2003 to Windows Server 2008 http://support.microsoft.com/kb/951402/en-us Services Installed by Exchange Setup http://technet.microsoft.com/en-us/library/aa998342.aspx Hope it helps. Xiu
November 13th, 2008 4:22am

Hello, I have the same problem as you. And when I look in the temp folder I can see that the exchange service host crash when tryijng to translate something .(I don't remember what)Do you have the same symptoms, and did you resolve it?Thanks alotJean-Marc FRANCOISButor
Free Windows Admin Tool Kit Click here and download it now
January 9th, 2009 5:31am

Here is the messageExchange Version=08.01.0240.006Default Assembly Version=08.01.0336.000Executable Name=Microsoft.Exchange.ServiceHost.exeExecutable Version=08.01.0336.000Base Exception Target Site=6882687231424Base Exception Assembly name=Microsoft.Exchange.RPCOverHTTPAutoconfig.dllBase Exception Method Name=Microsoft.Exchange.Servicelets.RPCHTTP.Servicelet.UpdateIISSettingsException Message=Unable to cast object of type 'System.String' to type 'System.Object[]'.EIP=1996842141Build bit-size=64Outlook anywhere doesn't run as this service cannot set the rights parameters on the RPC directory.I tried to set the timeout to 0 for this service and set the settings by myself on the RPC Vdir but no success.Maybe the reason is that the RPC Vdir has a problem.Can somebody help me/us?Butor
January 13th, 2009 9:42am

I'm also experiencing this problem. I've modified the config files, added the ServicesPipeTimeout registry key, restarted the Active Directory Topology service, confirmed the Service Host services is using the local system account, and confirmed I was not using IE proxy. I'm runing .net framework version 3.5 sp1. Nothing works. As Butor asked... "Can somebody help me/us?" Monicola
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2009 2:51pm

I tried to uninstall the Cas roles and reinstall it but the parameters were not deleted.Where can I find the CAS configuration so I can check it. I'm pretty sure there is a problem in this config and that the host service cannot read the config and then crash.Please Help.ButorButor
January 19th, 2009 5:40pm

Hi all, I am experiencing the exact same problem. I am using Server 2008 Premium SBS with Exchange 2007 SP1 RU5. Prior this version I had the same problem RU4 I also think the problem is in the vDir (C:\windows\system32\RpcProxy\) When I am looking in the security and advanced securty properties I can see that the owner is "TrustedInstaller" Also the only ones with 'read, list and execute' permissions are DOMAINNAME\UsersTrustedInstaller only has 'list' permissions. I would not be suprised that tht is the reason Service Host can't configure the RPC directory. Only I don't dare to change these settings. Can anyone check their permissions on a working S2k8 server? I am hoping to solve this problem. I don't like red icons, tekst ornotificationsin Windows :) Edit: I found this in IIS: Actions, Basic settings, Test Connection. This gives a screen with the next error: The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again. Edit2: I love getting new errors! I have changed the pass-through account to administrator (Connect as..) The previous error was gone. Of course the services still didn't start, but gave me two errors. The old one and the new one: The configuration application APPCMD.EXE failed with exit code 1346. Command parameters: list config "SBS Web Applications/Rpc/" -Section:system.WebServer/ServerRuntime. Appearently I am not the first one who has had this error. Someone at Experts Exchangehas this error too. I tried the same actions as the topicstarter did. Same error message in CMD when using the 64bit appcmd. INFO ( timetaken:187, hresult:80070003, objects:0 )ERROR ( message:Configuration errorFilename: \\?\C:\Windows\System32\RpcProxy\web.configLine Number: 0Description: Cannot read configuration file So I checked out the folder C:\Windows\System32\RpcProxy Guess what.. no web.config file present! When I am checking all the other virtual directory's, they DO have these files! So now I am guessing: I think Ineed that file! Perhaps that is the key to solve the problem. Anyone who has this file?
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2009 9:37am

Just had the same issue at a client and spend 2 hrs on the phone with Microsoft working to a solution.There were no proxy configurations on the CAS box.Registry was cleanIn IIS Manager, under Default Web Site, there was nothing present underneath"error pages". I recreated the following error pages:401403404405406412500501512All pointing to "%SystemDrive%\inetpub\custerr\en-US\" and then the respective error page 401.htm.After this, the service started successfully.
March 16th, 2009 11:32am

Will Fulmer said: Just had the same issue at a client and spend 2 hrs on the phone with Microsoft working to a solution.There were no proxy configurations on the CAS box.Registry was cleanIn IIS Manager, under Default Web Site, there was nothing present underneath"error pages". I recreated the following error pages:401403404405406412500501512All pointing to "%SystemDrive%\inetpub\custerr\en-US\" and then the respective error page 401.htm.After this, the service started successfully. This has solved my problem too! Thanks a lot for sharing! :)
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2009 8:58am

Thank you very much. I can not set the registry for this service and start it.Again thank you.jean-Marc FRANCOISButor
March 26th, 2009 7:23am

Thanks a million.Certainly Microsoft should be releasing a KB article for this.Thanks Will
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2009 8:13am

THis is the actual answer! I have tried EVERYTHING on the web 18 times and this one did it. My RPCoverHTTP is still broken but this was a great start.
October 22nd, 2009 5:08pm

Hey - I did add these entries under the default website, but didn't have effect - I added the entries to the top level (like the SERVERNAME) error pages section and it now works. Thanks for posting.
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 7:24pm

This is what I had to do to get the Microsoft Exchange Service Host started with Outlook Anywhere Enabled. Disable Outlook Anywhere on the CAS ServerRestart the Microsoft Exchange Active Directory Topology ServiceYou will now notice the Microsoft Exchange Service Host Service is now started (But we are not done).Go to Server Manager-->FeaturesClick on Remove FeaturesGo to the RPC over HTTP Proxy Feature and uncheck it (This will require a reboot)One the machine reboots, Go to c:\Windows\System32Rename RPCProxy to RPCProxy-OLDGo back to Server Manager-->FeaturesClick on Add FeaturesSelect RPC over HTTP ProxyReboot ServerUnder C:\Windows\System32 you will notice a new RPCProxy folderGo the EMC re-enable Outlook AnywhereRestart Microsoft Exchange Active Directory Topology Service to Verify Microsoft Exchange Service Host Service is started
May 9th, 2012 10:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics