Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cant start MS Exchange Replication Service

Posted on 2016-07-27
3
Medium Priority
?
259 Views
Last Modified: 2016-08-22
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.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager' threw an exception. ---> System.InvalidCastException: Specified cast is not valid.
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.<LoadRegistryValues>b__2(RegistryKey key)
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.TryGetRegistryParameters(Action`1 operation)
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.get_ConfigUpdaterTimerIntervalSlow()
   at Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager..ctor()
   at Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Cluster.ReplayService.ReplayService.OnStartInternal(String[] args)
   at Microsoft.Exchange.Cluster.Replay.Watson.<>c__DisplayClass1.<SendReportOnUnhandledException>b__0()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
   at Microsoft.Exchange.Diagnostics.ExWatson.SendReportOnUnhandledException(MethodDelegate methodDelegate, IsExceptionInteresting exceptionInteresting, Boolean terminating)
   at Microsoft.Exchange.Cluster.Replay.Watson.SendReportOnUnhandledException(Action action)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.<>c__DisplayClass2.<OnStart>b__0()
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.SendWatsonReportOnTimeout(String caller, TimeSpan timeout, TimerCallback timeoutHandler, UnderTimeoutDelegate underTimeoutDelegate)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.OnStart(String[] args)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.ServiceQueuedMainCallback(Object state)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeRepl" />
    <EventID Qualifiers="49156">4004</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-07-28T04:39:20.000000000Z" />
    <EventRecordID>1142649</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager' threw an exception. ---&gt; System.InvalidCastException: Specified cast is not valid.
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.&lt;LoadRegistryValues&gt;b__2(RegistryKey key)
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.TryGetRegistryParameters(Action`1 operation)
   at Microsoft.Exchange.Cluster.Replay.RegistryParameters.get_ConfigUpdaterTimerIntervalSlow()
   at Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager..ctor()
   at Microsoft.Exchange.Cluster.ReplayService.ReplayComponentManager..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Cluster.ReplayService.ReplayService.OnStartInternal(String[] args)
   at Microsoft.Exchange.Cluster.Replay.Watson.&lt;&gt;c__DisplayClass1.&lt;SendReportOnUnhandledException&gt;b__0()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
   at Microsoft.Exchange.Diagnostics.ExWatson.SendReportOnUnhandledException(MethodDelegate methodDelegate, IsExceptionInteresting exceptionInteresting, Boolean terminating)
   at Microsoft.Exchange.Cluster.Replay.Watson.SendReportOnUnhandledException(Action action)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.&lt;&gt;c__DisplayClass2.&lt;OnStart&gt;b__0()
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.SendWatsonReportOnTimeout(String caller, TimeSpan timeout, TimerCallback timeoutHandler, UnderTimeoutDelegate underTimeoutDelegate)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.OnStart(String[] args)
   at Microsoft.Exchange.Cluster.Replay.ReplayServiceBase.ServiceQueuedMainCallback(Object state)</Data>
  </EventData>
</Event>
0
Comment
Question by:Dominik Prochazka
  • 2
3 Comments
 
LVL 12

Expert Comment

by:Tej Pratap Shukla ~Dexter
ID: 41732388
Hi
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
0
 
LVL 43

Accepted Solution

by:
Adam Brown earned 1000 total points (awarded by participants)
ID: 41734042
run this:

get-mailboxdatabasecopystatus <database name>

Open in new window


https://technet.microsoft.com/en-us/library/dd351258(v=exchg.150).aspx has a list of possible errors and what can cause them. Most likely your replication broke during the update and either needs to be re-seeded or the local copy of the database needs to be brought up to date.
0
 
LVL 43

Expert Comment

by:Adam Brown
ID: 41757603
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.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question