Dominik Prochazka
asked on
Cant start MS Exchange Replication Service
After installing updates on Windows Server 2008 I cant start MS Exchange Replication. The Error log says:
Log Name: Application
Source: MSExchangeRepl
Date: 28. 7. 2016 6:39:20
Event ID: 4004
Task Category: Service
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Couldn't start the Microsoft Exchange Replication service. Error: System.TypeInitializationE xception: The type initializer for 'Microsoft.Exchange.Cluste r.ReplaySe rvice.Repl ayComponen tManager' threw an exception. ---> System.InvalidCastExceptio n: Specified cast is not valid.
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.<Lo adRegistry Values>b__ 2(Registry Key key)
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.Try GetRegistr yParameter s(Action`1 operation)
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.get _ConfigUpd aterTimerI ntervalSlo w()
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yComponent Manager..c tor()
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yComponent Manager..c ctor()
--- End of inner exception stack trace ---
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yService.O nStartInte rnal(Strin g[] args)
at Microsoft.Exchange.Cluster .Replay.Wa tson.<>c__ DisplayCla ss1.<SendR eportOnUnh andledExce ption>b__0 ()
at Microsoft.Exchange.Common. IL.ILUtil. DoTryFilte rCatch(Try Delegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
at Microsoft.Exchange.Diagnos tics.ExWat son.SendRe portOnUnha ndledExcep tion(Metho dDelegate methodDelegate, IsExceptionInteresting exceptionInteresting, Boolean terminating)
at Microsoft.Exchange.Cluster .Replay.Wa tson.SendR eportOnUnh andledExce ption(Acti on action)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.<>c_ _DisplayCl ass2.<OnSt art>b__0()
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.Send WatsonRepo rtOnTimeou t(String caller, TimeSpan timeout, TimerCallback timeoutHandler, UnderTimeoutDelegate underTimeoutDelegate)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.OnSt art(String [] args)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.Serv iceQueuedM ainCallbac k(Object state)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">4004</E ventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000 </Keywords >
<TimeCreated SystemTime="2016-07-28T04: 39:20.0000 00000Z" />
<EventRecordID>1142649</Ev entRecordI D>
<Channel>Application</Chan nel>
<Computer></Computer>
<Security />
</System>
<EventData>
<Data>System.TypeInitializ ationExcep tion: The type initializer for 'Microsoft.Exchange.Cluste r.ReplaySe rvice.Repl ayComponen tManager' threw an exception. ---> System.InvalidCastExceptio n: Specified cast is not valid.
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.< ;LoadRegis tryValues& gt;b__2(Re gistryKey key)
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.Try GetRegistr yParameter s(Action`1 operation)
at Microsoft.Exchange.Cluster .Replay.Re gistryPara meters.get _ConfigUpd aterTimerI ntervalSlo w()
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yComponent Manager..c tor()
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yComponent Manager..c ctor()
--- End of inner exception stack trace ---
at Microsoft.Exchange.Cluster .ReplaySer vice.Repla yService.O nStartInte rnal(Strin g[] args)
at Microsoft.Exchange.Cluster .Replay.Wa tson.<& gt;c__Disp layClass1. <SendRe portOnUnha ndledExcep tion>b_ _0()
at Microsoft.Exchange.Common. IL.ILUtil. DoTryFilte rCatch(Try Delegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
at Microsoft.Exchange.Diagnos tics.ExWat son.SendRe portOnUnha ndledExcep tion(Metho dDelegate methodDelegate, IsExceptionInteresting exceptionInteresting, Boolean terminating)
at Microsoft.Exchange.Cluster .Replay.Wa tson.SendR eportOnUnh andledExce ption(Acti on action)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.< >c__Dis playClass2 .<OnSta rt>b__0 ()
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.Send WatsonRepo rtOnTimeou t(String caller, TimeSpan timeout, TimerCallback timeoutHandler, UnderTimeoutDelegate underTimeoutDelegate)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.OnSt art(String [] args)
at Microsoft.Exchange.Cluster .Replay.Re playServic eBase.Serv iceQueuedM ainCallbac k(Object state)</Data>
</EventData>
</Event>
Log Name: Application
Source: MSExchangeRepl
Date: 28. 7. 2016 6:39:20
Event ID: 4004
Task Category: Service
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Couldn't start the Microsoft Exchange Replication service. Error: System.TypeInitializationE
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
--- End of inner exception stack trace ---
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Common.
at Microsoft.Exchange.Diagnos
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">4004</E
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000
<TimeCreated SystemTime="2016-07-28T04:
<EventRecordID>1142649</Ev
<Channel>Application</Chan
<Computer></Computer>
<Security />
</System>
<EventData>
<Data>System.TypeInitializ
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
--- End of inner exception stack trace ---
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Common.
at Microsoft.Exchange.Diagnos
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
at Microsoft.Exchange.Cluster
</EventData>
</Event>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The first response to this question is a link with instructions on how to start the replication service. This is not useful information when the replication service is incapable of being started. The most common cause of replication service failure is Database replication failure. Get-databasecopystatus in powershell will display database replication and give information on what the nature of the failure is. In addition, the link provided will assist in tracking down the problem. Without additional information and response from the user who posted the question, however, it is not possible to determine if this information has been used to resolve the error. Thus, full points should not be awarded.
Check this link for solution to the error MS Exchange Replication Service Can't Start.
https://technet.microsoft.com/en-us/library/ff360684(v=exchg.140).aspx
https://technet.microsoft.com/en-us/library/bb217421(v=exchg.80).aspx