Error when port tracking is enabled


The documenter throws an error whenever it encounters a port with tracking enabled.
Copied from Work Item 2784 for BizTalk Documenter:
Closed Sep 28, 2007 at 7:40 PM by ilyaf


wrote Sep 28, 2007 at 7:38 PM

Here's the error from the log file:2007-06-14 20:19:44Z : CNBNT\skats : TraceErr : Microsoft.Sdc.BiztalkDocumenter.Documenter.GenerateDocumentation: System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '255' is not a valid value for Microsoft.Sdc.BizTalkOM.TrackingType.at System.Xml.Serialization.XmlCustomFormatter.FromEnum(Int64 val, String[] vals, Int64[] ids, String typeName)at System.Xml.Serialization.XmlSerializationWriter.FromEnum(Int64 value, String[] values, Int64[] ids, String typeName)at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBizTalkBaseObject.Write16_TrackingType(TrackingType v)at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBizTalkBaseObject.Write24_ReceivePort(String n, String ns, ReceivePort o, Boolean isNullable, Boolean needType)at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBizTalkBaseObject.Write37_BizTalkApplication(String n, String ns, BizTalkApplication o, Boolean isNullable, Boolean needType)at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBizTalkBaseObject.Write41_BizTalkBaseObject(String n, String ns, BizTalkBaseObject o, Boolean isNullable, Boolean needType)at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterBizTalkBaseObject.Write42_BizTalkBaseObject(Object o)--- End of inner exception stack trace ---at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)at System.Xml.Serialization.XmlSerializer.Serialize(Stream stream, Object o)at Microsoft.Sdc.BizTalkOM.BizTalkBaseObject.GetXml()at Microsoft.Sdc.BiztalkDocumenter.Publishers.CompiledHelpPublisher.Publish(BizTalkInstallation bi, PublishType publishType, String resourceFolder, String publishFolder, String reportTitle, Boolean publishRules)at Microsoft.Sdc.BiztalkDocumenter.Documenter.GenerateDocumentation()

wrote Sep 28, 2007 at 7:39 PM

Resolved with changeset 7957.

wrote Sep 28, 2007 at 7:39 PM

wrote Sep 28, 2007 at 7:40 PM

shonalh wrote Nov 29, 2007 at 11:08 PM

Hi, I had downloaded the latest version of BizTalk Documenter and this problem showed up again. I brought down the latest version of BizTalk OM and took a look at the TrackingType class and enumation and I think the fix is missing in the newest release of the code as of Nov 29th.

wrote Feb 13, 2013 at 1:19 AM

wrote May 15, 2013 at 1:01 AM