none
Deserialized object with reference id 'i95' not found in stream RRS feed

  • Question

  • My BizTalk Admin gave me a file containing all the parties from the 2010 system.  I attempted to write a Powershell that would split them into separate binding files, one per party. 

    I then tried to import that into 2013, and I get the error: 

    Deserialized object with reference id 'i95' not found in stream.  I have looked at other binding files that work, and they have similar references number like 'i12' or 'i15' etc... 

          <ReceiverIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

    and in the <SendPorts> section: 

    <SenderIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />

      I manually removed all the 2010 SendPorts from the binding as they don't exist on the new system yet. 

      I thought maybe it was referring back to a business profile that was missing, and I also did another test with a dummy business profile added with that id. 

    Below is my binding file with names changed: 

    <BindingInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Assembly="Microsoft.BizTalk.Deployment, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Version="3.5.1.0" BindingStatus="NoBindings" BoundEndpoints="0" TotalEndpoints="0">
      <PartyCollection>
        <ArrayOfPartner xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.Deployment.B2B.PartnerManagement">
          <Partner xmlns="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.Deployment.B2B.PartnerManagement">
            <BusinessProfiles>
              <BusinessProfile>
                <CustomSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
                <Identities xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement">
                  <d5p1:BusinessIdentity z:Id="i2" i:type="d5p1:QualifierIdentity" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d5p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:BusinessProfileReference>
                    <d5p1:FallbackAgreement1Reference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreement1Reference>
                    <d5p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreementReference>
                    <d5p1:Name>QualifierIdentity</d5p1:Name>
                    <d5p1:version>AAAAAAAAh08=</d5p1:version>
                    <d5p1:AdditionalData>x12</d5p1:AdditionalData>
                    <d5p1:Description>Mutually Defined (X12)</d5p1:Description>
                    <d5p1:Qualifier>ZZ</d5p1:Qualifier>
                    <d5p1:Value>DEMO</d5p1:Value>
                  </d5p1:BusinessIdentity>
                </Identities>
                <Name>DEMO1_Profile</Name>
                <ProtocolSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
              </BusinessProfile>
              <BusinessProfile>
                <CustomSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
                <Identities xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement">
                  <d5p1:BusinessIdentity z:Id="i3" i:type="d5p1:QualifierIdentity" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d5p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:BusinessProfileReference>
                    <d5p1:FallbackAgreement1Reference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreement1Reference>
                    <d5p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreementReference>
                    <d5p1:Name>QualifierIdentity</d5p1:Name>
                    <d5p1:version>AAAAAAAJJLw=</d5p1:version>
                    <d5p1:AdditionalData>x12_edifact</d5p1:AdditionalData>
                    <d5p1:Description>D-U-N-S (Dun &amp; Bradstreet)</d5p1:Description>
                    <d5p1:Qualifier>ZZ</d5p1:Qualifier>
                    <d5p1:Value>DEMO</d5p1:Value>
                  </d5p1:BusinessIdentity>
                </Identities>
                <Name>DEMO1-USD_Profile</Name>
                <ProtocolSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
              </BusinessProfile>
              <BusinessProfile>
                <CustomSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
                <Identities xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement">
                  <d5p1:BusinessIdentity z:Id="i4" i:type="d5p1:QualifierIdentity" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d5p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:BusinessProfileReference>
                    <d5p1:FallbackAgreement1Reference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreement1Reference>
                    <d5p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:FallbackAgreementReference>
                    <d5p1:Name>QualifierIdentity</d5p1:Name>
                    <d5p1:version>AAAAAAAJJMs=</d5p1:version>
                    <d5p1:AdditionalData>x12_edifact</d5p1:AdditionalData>
                    <d5p1:Description>D-U-N-S (Dun &amp; Bradstreet)</d5p1:Description>
                    <d5p1:Qualifier>ZZ</d5p1:Qualifier>
                    <d5p1:Value>DEMO1CANADA</d5p1:Value>
                  </d5p1:BusinessIdentity>
                </Identities>
                <Name>DEMO1-CAD_Profile</Name>
                <ProtocolSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
              </BusinessProfile>
            </BusinessProfiles>
            <CustomSettings xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
              <d3p1:KeyValuePairOfstringstring>
                <d3p1:key>biztalk.HostParty</d3p1:key>
                <d3p1:value>True</d3p1:value>
              </d3p1:KeyValuePairOfstringstring>
            </CustomSettings>
            <Name>DEMO1</Name>
          </Partner>
        </ArrayOfPartner>
        <ArrayOfPartnership xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.Deployment.B2B.PartnerManagement">
          <!--PartnerA: 1 -->
          <Partnership xmlns="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.Deployment.B2B.PartnerManagement">
            <Agreements>
              <Agreement>
                <Contacts xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement">
                  <d5p1:Contact z:Id="i6168" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
                    <d5p1:Address>
                    </d5p1:Address>
                    <d5p1:AgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:AgreementReference>
                    <d5p1:BusinessPhone>
                    </d5p1:BusinessPhone>
                    <d5p1:Company>
                    </d5p1:Company>
                    <d5p1:ContactId>1677</d5p1:ContactId>
                    <d5p1:Email>
                    </d5p1:Email>
                    <d5p1:Fax>
                    </d5p1:Fax>
                    <d5p1:JobTitle>
                    </d5p1:JobTitle>
                    <d5p1:MobilePhone>
                    </d5p1:MobilePhone>
                    <d5p1:Name>
                    </d5p1:Name>
                    <d5p1:Notes>
                    </d5p1:Notes>
                    <d5p1:WebAddress>
                    </d5p1:WebAddress>
                    <d5p1:version>AAAAAAAJJRw=</d5p1:version>
                  </d5p1:Contact>
                </Contacts>
                <CustomSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.LogErrors</d5p1:key>
                    <d5p1:value>True</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.LogWarnings</d5p1:key>
                    <d5p1:value>True</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.EnableReporting</d5p1:key>
                    <d5p1:value>False</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.StoreMessages</d5p1:key>
                    <d5p1:value>False</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                </CustomSettings>
                <Description>
                </Description>
                <Enabled>true</Enabled>
                <EndDate>9999-12-31T17:59:59.9999999-06:00</EndDate>
                <Name>EDI-DEMO1CANADA</Name>
                <OnewayAgreementAtoB>
                  <AgreementAliases xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <BatchDescriptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <ProtocolSettings xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6169" i:type="d6p1:X12ProtocolSettings" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:OnewayAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:OnewayAgreementReference>
                    <d6p1:ProtocolName>x12</d6p1:ProtocolName>
                    <d6p1:SettingsName>unspecified</d6p1:SettingsName>
                    <d6p1:AcknowledgementControlNumberLowerBound>1</d6p1:AcknowledgementControlNumberLowerBound>
                    <d6p1:AcknowledgementControlNumberRollover>true</d6p1:AcknowledgementControlNumberRollover>
                    <d6p1:AcknowledgementControlNumberUpperBound>999999999</d6p1:AcknowledgementControlNumberUpperBound>
                    <d6p1:AllowLeadingAndTrailingSpacesAndZeroes>true</d6p1:AllowLeadingAndTrailingSpacesAndZeroes>
                    <d6p1:AuthorizationQualifier>00</d6p1:AuthorizationQualifier>
                    <d6p1:BatchFunctionalAck>true</d6p1:BatchFunctionalAck>
                    <d6p1:BatchTechnicalAck>true</d6p1:BatchTechnicalAck>
                    <d6p1:CharacterSet>2</d6p1:CharacterSet>
                    <d6p1:CheckDuplicateGroupControlNumber>false</d6p1:CheckDuplicateGroupControlNumber>
                    <d6p1:CheckDuplicateInterchangeControlNumber>false</d6p1:CheckDuplicateInterchangeControlNumber>
                    <d6p1:CheckDuplicateTransactionSetControlNumber>false</d6p1:CheckDuplicateTransactionSetControlNumber>
                    <d6p1:ComponentSeparator>62</d6p1:ComponentSeparator>
                    <d6p1:ControlStandardsId>85</d6p1:ControlStandardsId>
                    <d6p1:ControlVersionNumber>00401</d6p1:ControlVersionNumber>
                    <d6p1:ConvertImpliedDecimal>false</d6p1:ConvertImpliedDecimal>
                    <d6p1:CreateEmptyXmlTagsForTrailingSeparators>true</d6p1:CreateEmptyXmlTagsForTrailingSeparators>
                    <d6p1:DataElementSeparator>42</d6p1:DataElementSeparator>
                    <d6p1:EnableDefaultGroupHeaders>true</d6p1:EnableDefaultGroupHeaders>
                    <d6p1:GenerateLoopForValidMessagesInAck>false</d6p1:GenerateLoopForValidMessagesInAck>
                    <d6p1:GroupControlNumberLowerBound>1</d6p1:GroupControlNumberLowerBound>
                    <d6p1:GroupControlNumberRollover>true</d6p1:GroupControlNumberRollover>
                    <d6p1:GroupControlNumberUpperBound>999999999</d6p1:GroupControlNumberUpperBound>
                    <d6p1:GroupDateFormat>0</d6p1:GroupDateFormat>
                    <d6p1:GroupHeaderVersion>004010</d6p1:GroupHeaderVersion>
                    <d6p1:GroupResponsibleAgencyCode>88</d6p1:GroupResponsibleAgencyCode>
                    <d6p1:GroupTimeFormat>0</d6p1:GroupTimeFormat>
                    <d6p1:InterchangeControlNumberLowerBound>1</d6p1:InterchangeControlNumberLowerBound>
                    <d6p1:InterchangeControlNumberRollover>true</d6p1:InterchangeControlNumberRollover>
                    <d6p1:InterchangeControlNumberUpperBound>999999999</d6p1:InterchangeControlNumberUpperBound>
                    <d6p1:InterchangeDuplicatesValidity>30</d6p1:InterchangeDuplicatesValidity>
                    <d6p1:MaskSecurityInfo>true</d6p1:MaskSecurityInfo>
                    <d6p1:MessageFilterType>1</d6p1:MessageFilterType>
                    <d6p1:NeedFunctionalAck>false</d6p1:NeedFunctionalAck>
                    <d6p1:NeedTechnicalAck>false</d6p1:NeedTechnicalAck>
                    <d6p1:PreserveInterchange>false</d6p1:PreserveInterchange>
                    <d6p1:ReceiverApplicationId>DEMO2</d6p1:ReceiverApplicationId>
                    <d6p1:ReplaceChar>36</d6p1:ReplaceChar>
                    <d6p1:ReplaceSeparatorsInPayload>false</d6p1:ReplaceSeparatorsInPayload>
                    <d6p1:RouteAcktoSendPipeline>true</d6p1:RouteAcktoSendPipeline>
                    <d6p1:RowVersion>AAAAAAAJJR0=</d6p1:RowVersion>
                    <d6p1:SecurityQualifier>00</d6p1:SecurityQualifier>
                    <d6p1:SegmentTerminator>126</d6p1:SegmentTerminator>
                    <d6p1:SegmentTerminatorSuffix>0</d6p1:SegmentTerminatorSuffix>
                    <d6p1:SenderApplicationId>DEMO1CANADA</d6p1:SenderApplicationId>
                    <d6p1:SuspendInterchangeOnError>false</d6p1:SuspendInterchangeOnError>
                    <d6p1:TSApplyNewId>true</d6p1:TSApplyNewId>
                    <d6p1:TSControlNumberLowerBound>1</d6p1:TSControlNumberLowerBound>
                    <d6p1:TSControlNumberRollover>true</d6p1:TSControlNumberRollover>
                    <d6p1:TSControlNumberUpperBound>999999999</d6p1:TSControlNumberUpperBound>
                    <d6p1:TargetNamespace>http://schemas.microsoft.com/BizTalk/EDI/X12/2006</d6p1:TargetNamespace>
                    <d6p1:TrailingSeparatorPolicy>0</d6p1:TrailingSeparatorPolicy>
                    <d6p1:UsageIndicator>0</d6p1:UsageIndicator>
                    <d6p1:UseControlStandardsIdAsRepSep>false</d6p1:UseControlStandardsIdAsRepSep>
                    <d6p1:UseDotAsDecimalSeparator>false</d6p1:UseDotAsDecimalSeparator>
                    <d6p1:ValidateCharacterSet>true</d6p1:ValidateCharacterSet>
                    <d6p1:ValidateEDITypes>true</d6p1:ValidateEDITypes>
                    <d6p1:ValidateExtended>false</d6p1:ValidateExtended>
                  </ProtocolSettings>
                  <ReceiverIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                  <SenderIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6172" i:type="d6p1:QualifierIdentity" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreement1Reference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreement1Reference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:Name>QualifierIdentity</d6p1:Name>
                    <d6p1:version>AAAAAAAJJMs=</d6p1:version>
                    <d6p1:AdditionalData>x12_edifact</d6p1:AdditionalData>
                    <d6p1:Description>D-U-N-S (Dun &amp; Bradstreet)</d6p1:Description>
                    <d6p1:Qualifier>ZZ</d6p1:Qualifier>
                    <d6p1:Value>DEMO1CANADA</d6p1:Value>
                  </SenderIdentity>
                </OnewayAgreementAtoB>
                <OnewayAgreementBtoA>
                  <AgreementAliases xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <BatchDescriptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <ProtocolSettings xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6173" i:type="d6p1:X12ProtocolSettings" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:OnewayAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:OnewayAgreementReference>
                    <d6p1:ProtocolName>x12</d6p1:ProtocolName>
                    <d6p1:SettingsName>unspecified</d6p1:SettingsName>
                    <d6p1:AcknowledgementControlNumberLowerBound>1</d6p1:AcknowledgementControlNumberLowerBound>
                    <d6p1:AcknowledgementControlNumberRollover>true</d6p1:AcknowledgementControlNumberRollover>
                    <d6p1:AcknowledgementControlNumberUpperBound>999999999</d6p1:AcknowledgementControlNumberUpperBound>
                    <d6p1:AllowLeadingAndTrailingSpacesAndZeroes>true</d6p1:AllowLeadingAndTrailingSpacesAndZeroes>
                    <d6p1:AuthorizationQualifier>00</d6p1:AuthorizationQualifier>
                    <d6p1:BatchFunctionalAck>true</d6p1:BatchFunctionalAck>
                    <d6p1:BatchTechnicalAck>true</d6p1:BatchTechnicalAck>
                    <d6p1:CharacterSet>2</d6p1:CharacterSet>
                    <d6p1:CheckDuplicateGroupControlNumber>false</d6p1:CheckDuplicateGroupControlNumber>
                    <d6p1:CheckDuplicateInterchangeControlNumber>false</d6p1:CheckDuplicateInterchangeControlNumber>
                    <d6p1:CheckDuplicateTransactionSetControlNumber>false</d6p1:CheckDuplicateTransactionSetControlNumber>
                    <d6p1:ComponentSeparator>62</d6p1:ComponentSeparator>
                    <d6p1:ControlStandardsId>85</d6p1:ControlStandardsId>
                    <d6p1:ControlVersionNumber>00401</d6p1:ControlVersionNumber>
                    <d6p1:ConvertImpliedDecimal>false</d6p1:ConvertImpliedDecimal>
                    <d6p1:CreateEmptyXmlTagsForTrailingSeparators>true</d6p1:CreateEmptyXmlTagsForTrailingSeparators>
                    <d6p1:DataElementSeparator>42</d6p1:DataElementSeparator>
                    <d6p1:EnableDefaultGroupHeaders>true</d6p1:EnableDefaultGroupHeaders>
                    <d6p1:GenerateLoopForValidMessagesInAck>false</d6p1:GenerateLoopForValidMessagesInAck>
                    <d6p1:GroupControlNumberLowerBound>1</d6p1:GroupControlNumberLowerBound>
                    <d6p1:GroupControlNumberRollover>true</d6p1:GroupControlNumberRollover>
                    <d6p1:GroupControlNumberUpperBound>999999999</d6p1:GroupControlNumberUpperBound>
                    <d6p1:GroupDateFormat>0</d6p1:GroupDateFormat>
                    <d6p1:GroupHeaderVersion>004010</d6p1:GroupHeaderVersion>
                    <d6p1:GroupResponsibleAgencyCode>88</d6p1:GroupResponsibleAgencyCode>
                    <d6p1:GroupTimeFormat>0</d6p1:GroupTimeFormat>
                    <d6p1:InterchangeControlNumberLowerBound>1</d6p1:InterchangeControlNumberLowerBound>
                    <d6p1:InterchangeControlNumberRollover>true</d6p1:InterchangeControlNumberRollover>
                    <d6p1:InterchangeControlNumberUpperBound>999999999</d6p1:InterchangeControlNumberUpperBound>
                    <d6p1:InterchangeDuplicatesValidity>30</d6p1:InterchangeDuplicatesValidity>
                    <d6p1:MaskSecurityInfo>true</d6p1:MaskSecurityInfo>
                    <d6p1:MessageFilterType>1</d6p1:MessageFilterType>
                    <d6p1:NeedFunctionalAck>false</d6p1:NeedFunctionalAck>
                    <d6p1:NeedTechnicalAck>false</d6p1:NeedTechnicalAck>
                    <d6p1:PreserveInterchange>false</d6p1:PreserveInterchange>
                    <d6p1:ReceiverApplicationId>DEMO1CANADA</d6p1:ReceiverApplicationId>
                    <d6p1:ReplaceChar>36</d6p1:ReplaceChar>
                    <d6p1:ReplaceSeparatorsInPayload>false</d6p1:ReplaceSeparatorsInPayload>
                    <d6p1:RouteAcktoSendPipeline>true</d6p1:RouteAcktoSendPipeline>
                    <d6p1:RowVersion>AAAAAAAJJec=</d6p1:RowVersion>
                    <d6p1:SecurityQualifier>00</d6p1:SecurityQualifier>
                    <d6p1:SegmentTerminator>126</d6p1:SegmentTerminator>
                    <d6p1:SegmentTerminatorSuffix>3</d6p1:SegmentTerminatorSuffix>
                    <d6p1:SenderApplicationId>DEMO2</d6p1:SenderApplicationId>
                    <d6p1:SuspendInterchangeOnError>false</d6p1:SuspendInterchangeOnError>
                    <d6p1:TSApplyNewId>true</d6p1:TSApplyNewId>
                    <d6p1:TSControlNumberLowerBound>1</d6p1:TSControlNumberLowerBound>
                    <d6p1:TSControlNumberRollover>true</d6p1:TSControlNumberRollover>
                    <d6p1:TSControlNumberUpperBound>999999999</d6p1:TSControlNumberUpperBound>
                    <d6p1:TargetNamespace>http://schemas.microsoft.com/BizTalk/EDI/X12/2006</d6p1:TargetNamespace>
                    <d6p1:TrailingSeparatorPolicy>0</d6p1:TrailingSeparatorPolicy>
                    <d6p1:UsageIndicator>0</d6p1:UsageIndicator>
                    <d6p1:UseControlStandardsIdAsRepSep>false</d6p1:UseControlStandardsIdAsRepSep>
                    <d6p1:UseDotAsDecimalSeparator>false</d6p1:UseDotAsDecimalSeparator>
                    <d6p1:ValidateCharacterSet>true</d6p1:ValidateCharacterSet>
                    <d6p1:ValidateEDITypes>true</d6p1:ValidateEDITypes>
                    <d6p1:ValidateExtended>false</d6p1:ValidateExtended>
                  </ProtocolSettings>
                  <ReceiverIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i6172" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                  <SenderIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                </OnewayAgreementBtoA>
                <ProfileA>DEMO1-CAD_Profile</ProfileA>
                <ProfileB>DEMO2_Profile</ProfileB>
                <Protocol>x12</Protocol>
                <StartDate>2014-06-12T21:58:21.4516859-05:00</StartDate>
              </Agreement>
              <Agreement>
                <Contacts xmlns:d5p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement">
                  <d5p1:Contact z:Id="i6177" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
                    <d5p1:Address>
                    </d5p1:Address>
                    <d5p1:AgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d5p1:AgreementReference>
                    <d5p1:BusinessPhone>
                    </d5p1:BusinessPhone>
                    <d5p1:Company>
                    </d5p1:Company>
                    <d5p1:ContactId>1678</d5p1:ContactId>
                    <d5p1:Email>
                    </d5p1:Email>
                    <d5p1:Fax>
                    </d5p1:Fax>
                    <d5p1:JobTitle>
                    </d5p1:JobTitle>
                    <d5p1:MobilePhone>
                    </d5p1:MobilePhone>
                    <d5p1:Name>
                    </d5p1:Name>
                    <d5p1:Notes>
                    </d5p1:Notes>
                    <d5p1:WebAddress>
                    </d5p1:WebAddress>
                    <d5p1:version>AAAAAAAJJSY=</d5p1:version>
                  </d5p1:Contact>
                </Contacts>
                <CustomSettings xmlns:d5p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.LogErrors</d5p1:key>
                    <d5p1:value>True</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.LogWarnings</d5p1:key>
                    <d5p1:value>True</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.EnableReporting</d5p1:key>
                    <d5p1:value>False</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                  <d5p1:KeyValuePairOfstringstring>
                    <d5p1:key>biztalk.StoreMessages</d5p1:key>
                    <d5p1:value>False</d5p1:value>
                  </d5p1:KeyValuePairOfstringstring>
                </CustomSettings>
                <Description>
                </Description>
                <Enabled>true</Enabled>
                <EndDate>9999-12-31T17:59:59.9999999-06:00</EndDate>
                <Name>EDI-DEMO</Name>
                <OnewayAgreementAtoB>
                  <AgreementAliases xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <BatchDescriptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <ProtocolSettings xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6178" i:type="d6p1:X12ProtocolSettings" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:OnewayAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:OnewayAgreementReference>
                    <d6p1:ProtocolName>x12</d6p1:ProtocolName>
                    <d6p1:SettingsName>unspecified</d6p1:SettingsName>
                    <d6p1:AcknowledgementControlNumberLowerBound>1</d6p1:AcknowledgementControlNumberLowerBound>
                    <d6p1:AcknowledgementControlNumberRollover>true</d6p1:AcknowledgementControlNumberRollover>
                    <d6p1:AcknowledgementControlNumberUpperBound>999999999</d6p1:AcknowledgementControlNumberUpperBound>
                    <d6p1:AllowLeadingAndTrailingSpacesAndZeroes>true</d6p1:AllowLeadingAndTrailingSpacesAndZeroes>
                    <d6p1:AuthorizationQualifier>00</d6p1:AuthorizationQualifier>
                    <d6p1:BatchFunctionalAck>true</d6p1:BatchFunctionalAck>
                    <d6p1:BatchTechnicalAck>true</d6p1:BatchTechnicalAck>
                    <d6p1:CharacterSet>2</d6p1:CharacterSet>
                    <d6p1:CheckDuplicateGroupControlNumber>false</d6p1:CheckDuplicateGroupControlNumber>
                    <d6p1:CheckDuplicateInterchangeControlNumber>false</d6p1:CheckDuplicateInterchangeControlNumber>
                    <d6p1:CheckDuplicateTransactionSetControlNumber>false</d6p1:CheckDuplicateTransactionSetControlNumber>
                    <d6p1:ComponentSeparator>62</d6p1:ComponentSeparator>
                    <d6p1:ControlStandardsId>85</d6p1:ControlStandardsId>
                    <d6p1:ControlVersionNumber>00401</d6p1:ControlVersionNumber>
                    <d6p1:ConvertImpliedDecimal>false</d6p1:ConvertImpliedDecimal>
                    <d6p1:CreateEmptyXmlTagsForTrailingSeparators>true</d6p1:CreateEmptyXmlTagsForTrailingSeparators>
                    <d6p1:DataElementSeparator>42</d6p1:DataElementSeparator>
                    <d6p1:EnableDefaultGroupHeaders>true</d6p1:EnableDefaultGroupHeaders>
                    <d6p1:GenerateLoopForValidMessagesInAck>true</d6p1:GenerateLoopForValidMessagesInAck>
                    <d6p1:GroupControlNumberLowerBound>1</d6p1:GroupControlNumberLowerBound>
                    <d6p1:GroupControlNumberRollover>true</d6p1:GroupControlNumberRollover>
                    <d6p1:GroupControlNumberUpperBound>999999999</d6p1:GroupControlNumberUpperBound>
                    <d6p1:GroupDateFormat>0</d6p1:GroupDateFormat>
                    <d6p1:GroupHeaderVersion>004010</d6p1:GroupHeaderVersion>
                    <d6p1:GroupResponsibleAgencyCode>88</d6p1:GroupResponsibleAgencyCode>
                    <d6p1:GroupTimeFormat>0</d6p1:GroupTimeFormat>
                    <d6p1:InterchangeControlNumberLowerBound>1</d6p1:InterchangeControlNumberLowerBound>
                    <d6p1:InterchangeControlNumberRollover>true</d6p1:InterchangeControlNumberRollover>
                    <d6p1:InterchangeControlNumberUpperBound>999999999</d6p1:InterchangeControlNumberUpperBound>
                    <d6p1:InterchangeDuplicatesValidity>30</d6p1:InterchangeDuplicatesValidity>
                    <d6p1:MaskSecurityInfo>true</d6p1:MaskSecurityInfo>
                    <d6p1:MessageFilterType>1</d6p1:MessageFilterType>
                    <d6p1:NeedFunctionalAck>true</d6p1:NeedFunctionalAck>
                    <d6p1:NeedTechnicalAck>false</d6p1:NeedTechnicalAck>
                    <d6p1:PreserveInterchange>false</d6p1:PreserveInterchange>
                    <d6p1:ReceiverApplicationId>DEMO2</d6p1:ReceiverApplicationId>
                    <d6p1:ReplaceChar>36</d6p1:ReplaceChar>
                    <d6p1:ReplaceSeparatorsInPayload>false</d6p1:ReplaceSeparatorsInPayload>
                    <d6p1:RouteAcktoSendPipeline>true</d6p1:RouteAcktoSendPipeline>
                    <d6p1:RowVersion>AAAAAAAJJm4=</d6p1:RowVersion>
                    <d6p1:SecurityQualifier>00</d6p1:SecurityQualifier>
                    <d6p1:SegmentTerminator>126</d6p1:SegmentTerminator>
                    <d6p1:SegmentTerminatorSuffix>0</d6p1:SegmentTerminatorSuffix>
                    <d6p1:SenderApplicationId>DEMO</d6p1:SenderApplicationId>
                    <d6p1:SuspendInterchangeOnError>false</d6p1:SuspendInterchangeOnError>
                    <d6p1:TSApplyNewId>true</d6p1:TSApplyNewId>
                    <d6p1:TSControlNumberLowerBound>1</d6p1:TSControlNumberLowerBound>
                    <d6p1:TSControlNumberRollover>true</d6p1:TSControlNumberRollover>
                    <d6p1:TSControlNumberUpperBound>999999999</d6p1:TSControlNumberUpperBound>
                    <d6p1:TargetNamespace>http://schemas.microsoft.com/BizTalk/EDI/X12/2006</d6p1:TargetNamespace>
                    <d6p1:TrailingSeparatorPolicy>0</d6p1:TrailingSeparatorPolicy>
                    <d6p1:UsageIndicator>2</d6p1:UsageIndicator>
                    <d6p1:UseControlStandardsIdAsRepSep>false</d6p1:UseControlStandardsIdAsRepSep>
                    <d6p1:UseDotAsDecimalSeparator>false</d6p1:UseDotAsDecimalSeparator>
                    <d6p1:ValidateCharacterSet>true</d6p1:ValidateCharacterSet>
                    <d6p1:ValidateEDITypes>true</d6p1:ValidateEDITypes>
                    <d6p1:ValidateExtended>false</d6p1:ValidateExtended>
                  </ProtocolSettings>
                  <ReceiverIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                  <SenderIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6182" i:type="d6p1:QualifierIdentity" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreement1Reference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreement1Reference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:Name>QualifierIdentity</d6p1:Name>
                    <d6p1:version>AAAAAAAJJLw=</d6p1:version>
                    <d6p1:AdditionalData>x12_edifact</d6p1:AdditionalData>
                    <d6p1:Description>D-U-N-S (Dun &amp; Bradstreet)</d6p1:Description>
                    <d6p1:Qualifier>ZZ</d6p1:Qualifier>
                    <d6p1:Value>DEMO</d6p1:Value>
                  </SenderIdentity>
                </OnewayAgreementAtoB>
                <OnewayAgreementBtoA>
                  <AgreementAliases xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <BatchDescriptions xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" />
                  <ProtocolSettings xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Id="i6183" i:type="d6p1:X12ProtocolSettings" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <d6p1:BusinessProfileReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:BusinessProfileReference>
                    <d6p1:FallbackAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:FallbackAgreementReference>
                    <d6p1:OnewayAgreementReference xmlns:d7p1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses">
                    </d6p1:OnewayAgreementReference>
                    <d6p1:ProtocolName>x12</d6p1:ProtocolName>
                    <d6p1:SettingsName>unspecified</d6p1:SettingsName>
                    <d6p1:AcknowledgementControlNumberLowerBound>1</d6p1:AcknowledgementControlNumberLowerBound>
                    <d6p1:AcknowledgementControlNumberRollover>true</d6p1:AcknowledgementControlNumberRollover>
                    <d6p1:AcknowledgementControlNumberUpperBound>999999999</d6p1:AcknowledgementControlNumberUpperBound>
                    <d6p1:AllowLeadingAndTrailingSpacesAndZeroes>true</d6p1:AllowLeadingAndTrailingSpacesAndZeroes>
                    <d6p1:AuthorizationQualifier>00</d6p1:AuthorizationQualifier>
                    <d6p1:BatchFunctionalAck>true</d6p1:BatchFunctionalAck>
                    <d6p1:BatchTechnicalAck>true</d6p1:BatchTechnicalAck>
                    <d6p1:CharacterSet>2</d6p1:CharacterSet>
                    <d6p1:CheckDuplicateGroupControlNumber>false</d6p1:CheckDuplicateGroupControlNumber>
                    <d6p1:CheckDuplicateInterchangeControlNumber>false</d6p1:CheckDuplicateInterchangeControlNumber>
                    <d6p1:CheckDuplicateTransactionSetControlNumber>false</d6p1:CheckDuplicateTransactionSetControlNumber>
                    <d6p1:ComponentSeparator>62</d6p1:ComponentSeparator>
                    <d6p1:ControlStandardsId>85</d6p1:ControlStandardsId>
                    <d6p1:ControlVersionNumber>00401</d6p1:ControlVersionNumber>
                    <d6p1:ConvertImpliedDecimal>false</d6p1:ConvertImpliedDecimal>
                    <d6p1:CreateEmptyXmlTagsForTrailingSeparators>true</d6p1:CreateEmptyXmlTagsForTrailingSeparators>
                    <d6p1:DataElementSeparator>42</d6p1:DataElementSeparator>
                    <d6p1:EnableDefaultGroupHeaders>true</d6p1:EnableDefaultGroupHeaders>
                    <d6p1:GenerateLoopForValidMessagesInAck>false</d6p1:GenerateLoopForValidMessagesInAck>
                    <d6p1:GroupControlNumberLowerBound>1</d6p1:GroupControlNumberLowerBound>
                    <d6p1:GroupControlNumberRollover>true</d6p1:GroupControlNumberRollover>
                    <d6p1:GroupControlNumberUpperBound>999999999</d6p1:GroupControlNumberUpperBound>
                    <d6p1:GroupDateFormat>0</d6p1:GroupDateFormat>
                    <d6p1:GroupHeaderVersion>004010</d6p1:GroupHeaderVersion>
                    <d6p1:GroupResponsibleAgencyCode>88</d6p1:GroupResponsibleAgencyCode>
                    <d6p1:GroupTimeFormat>0</d6p1:GroupTimeFormat>
                    <d6p1:InterchangeControlNumberLowerBound>1</d6p1:InterchangeControlNumberLowerBound>
                    <d6p1:InterchangeControlNumberRollover>true</d6p1:InterchangeControlNumberRollover>
                    <d6p1:InterchangeControlNumberUpperBound>999999999</d6p1:InterchangeControlNumberUpperBound>
                    <d6p1:InterchangeDuplicatesValidity>30</d6p1:InterchangeDuplicatesValidity>
                    <d6p1:MaskSecurityInfo>true</d6p1:MaskSecurityInfo>
                    <d6p1:MessageFilterType>1</d6p1:MessageFilterType>
                    <d6p1:NeedFunctionalAck>true</d6p1:NeedFunctionalAck>
                    <d6p1:NeedTechnicalAck>false</d6p1:NeedTechnicalAck>
                    <d6p1:PreserveInterchange>false</d6p1:PreserveInterchange>
                    <d6p1:ReceiverApplicationId>DEMO</d6p1:ReceiverApplicationId>
                    <d6p1:ReplaceChar>36</d6p1:ReplaceChar>
                    <d6p1:ReplaceSeparatorsInPayload>false</d6p1:ReplaceSeparatorsInPayload>
                    <d6p1:RouteAcktoSendPipeline>true</d6p1:RouteAcktoSendPipeline>
                    <d6p1:RowVersion>AAAAAAAJJm8=</d6p1:RowVersion>
                    <d6p1:SecurityQualifier>00</d6p1:SecurityQualifier>
                    <d6p1:SegmentTerminator>126</d6p1:SegmentTerminator>
                    <d6p1:SegmentTerminatorSuffix>3</d6p1:SegmentTerminatorSuffix>
                    <d6p1:SenderApplicationId>DEMO2</d6p1:SenderApplicationId>
                    <d6p1:SuspendInterchangeOnError>false</d6p1:SuspendInterchangeOnError>
                    <d6p1:TSApplyNewId>true</d6p1:TSApplyNewId>
                    <d6p1:TSControlNumberLowerBound>1</d6p1:TSControlNumberLowerBound>
                    <d6p1:TSControlNumberRollover>true</d6p1:TSControlNumberRollover>
                    <d6p1:TSControlNumberUpperBound>999999999</d6p1:TSControlNumberUpperBound>
                    <d6p1:TargetNamespace>http://schemas.microsoft.com/BizTalk/EDI/X12/2006</d6p1:TargetNamespace>
                    <d6p1:TrailingSeparatorPolicy>0</d6p1:TrailingSeparatorPolicy>
                    <d6p1:UsageIndicator>2</d6p1:UsageIndicator>
                    <d6p1:UseControlStandardsIdAsRepSep>false</d6p1:UseControlStandardsIdAsRepSep>
                    <d6p1:UseDotAsDecimalSeparator>false</d6p1:UseDotAsDecimalSeparator>
                    <d6p1:ValidateCharacterSet>true</d6p1:ValidateCharacterSet>
                    <d6p1:ValidateEDITypes>true</d6p1:ValidateEDITypes>
                    <d6p1:ValidateExtended>false</d6p1:ValidateExtended>
                  </ProtocolSettings>
                  <ReceiverIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i6182" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                  <SenderIdentity xmlns:d6p1="http://schemas.datacontract.org/2004/07/Microsoft.BizTalk.B2B.PartnerManagement" z:Ref="i95" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
                </OnewayAgreementBtoA>
                <ProfileA>DEMO1-USD_Profile</ProfileA>
                <ProfileB>DEMO2_Profile</ProfileB>
                <Protocol>x12</Protocol>
                <StartDate>2014-06-12T21:58:21.4516859-05:00</StartDate>
              </Agreement>
            </Agreements>
            <PartnerA>DEMO1</PartnerA>
            <PartnerB>DEMO2</PartnerB>
          </Partnership>
        </ArrayOfPartnership>
      </PartyCollection>
    </BindingInfo>

    Thanks

    Neal 


    Thursday, November 1, 2018 4:35 PM

Answers

  • I think I've got past this issue.  It seems to occur when you copy from one binding file to another. 

    The i## are references to other entities in the binding file, such as a BusinessProfile. 
    So I can change the i# to some existing one. 

    Neal 

    • Marked as answer by Neal Walters Friday, November 2, 2018 7:47 PM
    Friday, November 2, 2018 7:46 PM