Hello,
we restored service bus to different servers. we are getting below errors in event viewer after restoration
MessageEntity load failed. Entity name = container 1-PRODUCTIONEXECUTION:QUEUE:PRODUCTIONORDERCONFIRMATIONACKNOWLEDGEMENTQUEUE, error = System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type Microsoft.ApplicationServer.Messaging.Broker.QueueInfo.
The input source is not correctly formatted. ---> System.Xml.XmlException: The input source is not correctly formatted.
at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
at System.Xml.XmlBufferReader.ReadValue(XmlBinaryNodeType nodeType, ValueHandle value)
at System.Xml.XmlBinaryReader.ReadNode()
at System.Xml.XmlBaseReader.IsStartElement()
at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
at System.Runtime.Serialization.XmlObjectSerializer.IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns)
at System.Runtime.Serialization.DataContractSerializer.InternalIsStartObject(XmlReaderDelegator reader)
at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
--- End of inner exception stack trace ---
Server stack trace:
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.ReadObject(XmlDictionaryReader reader)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.SerializationUtilities.DeserializeObject[T](Byte[] serializedObject)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.GetEntityInfoAsyncResult.GenerateQueueInfo(Byte[] queueProperties, Int64 version, DateTime acceseedAt, String entityName)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.GetEntityInfoAsyncResult.ParseResult(SqlDataReader reader, String entityName, Boolean isRecursive, SqlContainerLocation containerLocation, TrackingContext currentTracker)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.GetEntityWithAssociatedInfoAsyncResult.ParseResult(SqlDataReader reader, EntityDataOutputResultType outputDataType, SqlContainerLocation containerLocation, TrackingContext currentTracker)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.GetEntityWithAssociatedInfoAsyncResult.ProcessSqlResult(SqlDataReader reader)
at Microsoft.Cloud.ServiceBus.Common.Sql.SqlStoreAsyncResult.SqlCommandAsyncResultCallback(IAsyncResult result)
at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
Exception rethrown at [0]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.EntityDataReader.GetEntityDataAsyncResult.<GetAsyncSteps>b__15(GetEntityDataAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [1]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.EntityDataReader.PopulateEntityDataAsyncResult.<GetAsyncSteps>b__8(PopulateEntityDataAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [2]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.EntityStore.GetSingleEntityInfoAsyncResult.<GetAsyncSteps>b__6(GetSingleEntityInfoAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [3]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.Sql.SqlMessageStoreFactory.EndRead(IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.MessageEntityManager.OnCreateInstanceAsyncResult.<GetAsyncSteps>b__3d(OnCreateInstanceAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [4]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.MessageEntityManager.OnEndCreateInstance(IAsyncResult result)
at Microsoft.ServiceBus.Messaging.SingletonDictionaryManager`2.LoadInstanceAsyncResult.<GetAsyncSteps>b__d0(LoadInstanceAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
Exception rethrown at [5]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ApplicationServer.Messaging.Broker.MessageEntityManager.LoadEntityAsyncResult.<GetAsyncSteps>b__2c(LoadEntityAsyncResult thisPtr, IAsyncResult r)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result).
After further checks found that microsoft.servicebus.dll DLL version of new installation (2.0.50917.2) and old installation (2.0.30904.0) is different.
Any help here ?
Thanks,
venky