Solved

Cant start MS Exchange Replication Service

Posted on 2016-07-27
3
37 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 11

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 38

Accepted Solution

by:
Adam Brown earned 500 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 38

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now