Home Asset Management

Sync Hardware Assets Failing

James_JohnsonJames_Johnson Customer Adept IT Monkey ✭✭

Hello,

My workflow for syncing the hardware assets has been failing, after a certain point it comes up with the following messages

2020/04/20 08:26:01.165 - Error - failed to commit current relationship data batch, committing individually
2020/04/20 08:26:01.165 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.181 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.197 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.212 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.212 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.212 - Error - The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection.
2020/04/20 08:26:01.212 - Microsoft.EnterpriseManagement.Common.ServerDisconnectedException: The client has been disconnected from the server. Please call ManagementGroup.Reconnect() to reestablish the connection. ---> System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.


Server stack trace: 
   at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen()
   at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)


Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.DispatchUnknownMessage(Message message)
   at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.GetRelationshipsByCriteriaWithInstanceQueryOptions(String criteria, String languageCode, InstanceQueryOptions instanceQueryOptions)
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
   at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.HandleChannelExceptions(String methodName, Exception ex)
   at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.GetRelationshipsByCriteriaWithInstanceQueryOptions(String criteria, String languageCode, InstanceQueryOptions instanceQueryOptions)
   at Microsoft.EnterpriseManagement.InstancesManagement.GetRelationshipObjectsWhereTarget[T](Guid instanceId, ObjectQueryOptions queryOptions)
   at Cireson.AssetManagement.Workflows.SyncHardwareAssets.Execute(ActivityExecutionContext executionContext)


Any ideas what might be causing this? Don't seem to have any other issues with things disconnecting.


Thanks,

James

Best Answer

Answers

  • James_JohnsonJames_Johnson Customer Adept IT Monkey ✭✭

    Thanks @Adam_Dzyacky!

Sign In or Register to comment.