MbxCountPerMbxDbCollection.ps1

Hi!

I get an error message that relates to the Exchange 2013 Management Pack every 15 minutes in only one of my three management servers:

Event ID:  102
Source:  Health Service Script
Level:   Error
Description:

MbxCountPerMbxDbCollection.ps1 : (65):  $result = $dw.GetDataWarehouseData('sdk.Exchange2013_GetMbxCountPerMbxDb',$spParams)

 Exception: System.Runtime.Serialization.SerializationException: Type 'System.Object[]' with data contract name 'ArrayOfanyType:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Consider using a DataContractResolver or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteStoredProcedureParameterToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract )
   at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteStoredProcedureParameterCollectionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , CollectionDataContract )
   at System.Runtime.Serialization.CollectionDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.WriteObject(XmlWriter writer, Object graph)
   at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.CreateMessage(Type interfaceType, String methodName, IList`1 parameterNames, IList`1 parameterValues, IList`1 knownTypes)
   at Microsoft.EnterpriseManagement.Common.Internal.MonitoringDataWarehouseServiceProxy.GetDataWarehouseStoredProcedureResult(String SpName, StoredProcedureParameterCollection param, IEnumerable`1 columnFilter, Int32 timeout)
   at Microsoft.EnterpriseManagement.Warehouse.DataWarehouse.GetDataWarehouseData(String storedProcedureName, StoredProcedureParameterCollection param, IEnumerable`1 columnFilter, Int32 timeout)
   at Microsoft.EnterpriseManagement.Warehouse.DataWarehouse.GetDataWarehouseData(String storedProcedureName, StoredProcedureParameterCollection param)
   at CallSite.Target(Closure , CallSite , Object , String , Object )

Can anyone translate this to english? :)

The environment is Windows Server 2012, SCOM 2012R2 CU4 and Exchange MP 15.0.663.19

Regards
Peter

February 3rd, 2015 2:46pm

Hi,

It seems like a known issue in Exchange 2013 MP. Whether the other two management servers have the same OS version as this one?

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
February 4th, 2015 4:13am

Hello Yan!

Yes, all are Windows Server 2012 with about the same patch history.
The server with the error event is virtual (VMWARE) and the other two are physical (DELL).
All three are members of the All Management Servers Pool.

Regards
Peter

February 4th, 2015 4:43am

Would you please try removing and reimport the Exchange 2013 MP and check the result, after remove the MP, please run below powershell command:

Remove-SCOMDisabledClassInstance

https://technet.microsoft.com/en-us/library/hh920257(v=sc.20).aspx

Regards,

Yan Li

Free Windows Admin Tool Kit Click here and download it now
February 12th, 2015 2:00am

This looks like the issue I mentionned here, which is related to powershell versions : https://social.technet.microsoft.com/Forums/fr-FR/d8811683-16bc-4d8a-98e5-5a0f0f8cef47/exchange-2013-mp-bug-when-management-server-running-powershell-v2?forum=operationsmanagermgmtpacks
February 24th, 2015 5:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics