November Happy Hour will be moved to Thursday December 5th.

Issue with mirroring after the app upgrade

Vote:
 

Hello 

I am encountring the following issue after I upgraded the sample app to 8.10.0 and running the mirroring servie 

ERROR EPiServer.Enterprise.Mirroring.MirroringManager: 10.1.6 Error executing task "UpgradeMirroring":
System.Exception: Object reference not set to an instance of an object. ()
at EPiServer.MirroringService.MirroringSourceService.MirroringSourceClient.HandleApplicationException(FaultException`1 mirroringSourceFaultException)
at EPiServer.MirroringService.MirroringSourceService.MirroringSourceClient.StartMirroring(String siteId, Guid contextId, ValidationContext validationContext)
at EPiServer.Enterprise.Mirroring.MirroringManager.Execute(MirroringData data)
System.Exception: Object reference not set to an instance of an object. ()
at EPiServer.MirroringService.MirroringSourceService.MirroringSourceClient.HandleApplicationException(FaultException`1 mirroringSourceFaultException)
at EPiServer.MirroringService.MirroringSourceService.MirroringSourceClient.StartMirroring(String siteId, Guid contextId, ValidationContext validationContext)
at EPiServer.Enterprise.Mirroring.MirroringManager.Execute(MirroringData data)
2015-07-24 11:48:51,064 [8] ERROR EPiServer.DataAbstraction.ScheduledJob: 3.1.2 Failed to execute job b5baa7fe-c1e2-4e0b-b8bf-01ec45a42615
EPiServer.Core.EPiServerException:
Error executing task "UpgradeMirroring": Object reference not set to an instance of an object. ()

at EPiServer.Enterprise.Mirroring.MirroringManager.Execute()
EPiServer.Core.EPiServerException:
Error executing task "UpgradeMirroring": Object reference not set to an instance of an object. ()

at EPiServer.Enterprise.Mirroring.MirroringManager.Execute()

Any Help would be greatly appreciated?

Thanks

#131434
Jul 24, 2015 18:52
Vote:
 

During mirroring will the site make a call out to the Mirroring service (a separate application), the error seems to be caused in the service. Could you try to enable logging for the MirroringService to get some more information about the cause (e.g. a stack trace)? 

You can do this by adding a EPiServerLog.config file (e.g. copy it from site root) to the mirroring service folder (typically MirroringService folder in your site root).

#131442
Jul 27, 2015 7:44
Vote:
 

Hello Johan 

I enabled the serrver log on Mirroring Service and found the following 

2015-07-27 09:58:10,709 [17] ERROR EPiServer.MirroringService.Common.InitializationServiceContext: Failed to initialize EPiServer runtime from config: Object reference not set to an instance of an object.2015-07-27 09:58:10,746 [17] ERROR EPiServer.MirroringService.Proxy.RuntimeMirroringProxy: Object reference not set to an instance of an object.System.NullReferenceException: Object reference not set to an instance of an object.   at EPiServer.MirroringService.Common.InitializationServiceContext.InitalizeEPiServer(ProxyContext context)   at EPiServer.MirroringService.Common.InitializationServiceContext.InitializeEPiServerRuntime(ProxyContext context)   at EPiServer.MirroringService.Proxy.RuntimeMirroringProxy.Initialize(ProxyContext context)2015-07-27 09:58:10,856 [17] ERROR EPiServer.MirroringService.MirroringSourceService.MirroringSourceServer: EPiServer.MirroringService.MirroringTransferProtocol.Common.MirroringFaultExceptionDetail

Thanks 

Sravan

#131462
Jul 27, 2015 17:05
Vote:
 

Make sure that assembly bindings (mirroring web.coinfig) and mirroring bin folder are updated as well. 

#131467
Jul 28, 2015 9:10
Vote:
 

Thank You. Updating the dependent assembly section in mirroring worked. 

#131490
Jul 28, 2015 16:06
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.