HTTP Receive location failing to in BizTalk

Hi All,
BizTalk application receives request from external vendor using HTTP Receive location which uses HTTPReceive.dll
2 servers A and B in the production performing well, but it fails from yesterday. Could see request coming through the IIS in the IIS log, but it is not reaching to biztalk application.
I have tried these steps in both A and B machines
1. restart the biztalk app
2. restart the application pool of the website that connects this app
3. reset iis in the machines 
How a request from IIS is routed to machines, I can't understand which machine handles the request, currently it reaches machine B, I could see previous IIS log where it processed successfully in machine A IIS log.
I could see error 500 in machine B IIS log for each request that comes in but cannot make it to BizTalk app
No error log in the event viewer of A and B BizTalk servers.
Can anyone guide me how to resolve it?
Regards
Vivek

Hi Vivek,
If you get HTTP-500 error you will have eventlog entries, not just in IIS logs.
"How a request from IIS is routed to machines, I can't understand which machine handles the request, currently it
reaches machine B, I could see previous IIS log where it processed successfully in machine A IIS log." -
IIS would route to BizTalk machines, only if you have separate servers as webserver(IIS) and BizTalk. If IIS is host in the same servers as BizTalk, then when the IIS receive the message,
it would route to its standalone internal BizTalk server. The routing to different machines is due to the loadbalancer. Your statement is bit contradictory. I assume your IIS is local to the BizTalk servers. So when the client send the message to HTTPReceive.dll,
the url is bound to loadbalacer, which based on its load balancer logic route the message to anyone of the BizTalk server's IIS (machine A and machine B) hence you see two different IIS logs in machine A and machine B.
Many Load-balancers, I have seen work with a unique logic where they send the requests primary to one server always and only if that primary server is busy (or not available) then it would
send it to other server. May be load-balancer have been sending its request to mahicne-A until recently and may be due to some reasons its sending the request to machine-B now. The reason machine-B may not be working now, could be because it was never configured
properly before and when machine-B start to receive the message, it gives error(as load-balancer request are always handled by machine-A before). To prove this, stop IIS in machine-B and see machine-A receive the message.
For this HTTP-500 error, check the HTTPReceive.dll is configured correctly. Check the following articles for configuration:
Configuring BTSHTTPReceive.dll to work on IIS 7
http://www.biztalkbill.com/Home/tabid/40/EntryId/66/Configuring-BTSHTTPReceive-dll-to-work-on-IIS-7.aspx
http://social.msdn.microsoft.com/Forums/en-US/20ea5954-4ca8-40ca-b043-2e6c3d3ae105/btshttpreceivedll-remote-server-returned-an-error-500
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • Receive MTOM Message With Attachment on WS-HTTP Receive Location

    Client is sending my WCF Service the following message - when it hits the boundary for the attachment it breaks giving the error message: Data at the root level is invalid. I have no idea how to accept this message and get it to parse correctly on this adapter.
    Please help:
    Content-Length: 25313
    Content-Type: multipart/related; boundary=Boundary_urn_uuid_f69030be-b05d-11e3-a6be-005056a80026; type="application/xop+xml"; start="<[email protected]>"; start-info="application/soap+xml"; action="urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b"
    --Boundary_urn_uuid_f69030be-b05d-11e3-a6be-005056a80026
    Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml"
    Content-Transfer-Encoding: binary
    Content-ID: <[email protected]>
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <soap:Header>
    <wsa:MessageID>f69030be-b05d-11e3-a6be-005056a80026</wsa:MessageID>
    <wsa:Action soap:mustUnderstand="1">urn:ihe:iti:2007:ProvideAndRegisterDocumentSet-b</wsa:Action>
    </soap:Header>
    <soap:Body>
    <ProvideAndRegisterDocumentSetRequest xmlns="urn:ihe:iti:xds-b:2007" xmlns:xop="http://www.w3.org/2004/08/xop/include">
    <lcm3:SubmitObjectsRequest xmlns:lcm3="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
    <rim:RegistryObjectList>
    <rim:ExtrinsicObject id="Document01" mimeType="text/xml" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1">
    <rim:Slot name="creationTime">
    <rim:ValueList>
    <rim:Value>201403201432</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="languageCode">
    <rim:ValueList>
    <rim:Value>en-us</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="sourcePatientId">
    <rim:ValueList>
    <rim:Value>000010^^^&amp;2.16.840.1.113883.3.837.1.2.2.1&amp;ISO</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="sourcePatientInfo">
    <rim:ValueList>
    <rim:Value>PID-3|000010^^^&amp;2.16.840.1.113883.3.837.1.2.2.1&amp;ISO</rim:Value>
    <rim:Value>PID-5|copath^april^^^^</rim:Value>
    <rim:Value>PID-7|19600415</rim:Value>
    <rim:Value>PID-8|F</rim:Value>
    <rim:Value>PID-11|123 MAIN ST^^PITTSBURGH^PA^15238</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Continuity of Care Document"/>
    </rim:Name>
    <rim:Classification id="cl1" classificationScheme="urn:uuid:93606bcf-9494-43ec-9b4e-a7748d1a838d" classifiedObject="Document01">
    <rim:Slot name="authorPerson">
    <rim:ValueList>
    <rim:Value>LEIGHTON,KEVIN L            *</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="authorRole">
    <rim:ValueList>
    <rim:Value>Primary Care Provider</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="authorSpecialty">
    <rim:ValueList>
    <rim:Value>FAMILY PRACTICE</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    </rim:Classification>
    <rim:Classification id="cl2" classificationScheme="urn:uuid:41a5887f-8865-4c09-adf7-e362475b143a" classifiedObject="Document01" nodeRepresentation="34133-9">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>LOINC</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Summarization of Episode Note"/>
    </rim:Name>
    </rim:Classification>
    <rim:Classification id="cl3" classificationScheme="urn:uuid:f4f85eac-e6cb-4883-b524-f2705394840f" classifiedObject="Document01" nodeRepresentation="N">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>confidentiality</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Normal"/>
    </rim:Name>
    </rim:Classification>
    <rim:Classification id="cl4" classificationScheme="urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d" classifiedObject="Document01" nodeRepresentation="2.16.840.1.113883.10.20.1">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>HITSP</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="HL7 CCD Document"/>
    </rim:Name>
    </rim:Classification>
    <rim:Classification id="cl5" classificationScheme="urn:uuid:f33fb8ac-18af-42cc-ae0e-ed0b0bdb91e1" classifiedObject="Document01" nodeRepresentation="GACH">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>2.16.840.1.113883.5.11</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Hospitals; General Acute Care Hospital"/>
    </rim:Name>
    </rim:Classification>
    <rim:Classification id="cl6" classificationScheme="urn:uuid:cccf5598-8b07-4b77-a05e-ae952c785ead" classifiedObject="Document01" nodeRepresentation="394802001">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>Snomed-CT</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="General Medicine"/>
    </rim:Name>
    </rim:Classification>
    <rim:Classification id="cl7" classificationScheme="urn:uuid:f0306f51-975f-434e-a61c-c59651d33983" classifiedObject="Document01" nodeRepresentation="34133-9">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>LOINC</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Summarization of Episode Note"/>
    </rim:Name>
    </rim:Classification>
    <rim:ExternalIdentifier id="ei1" registryObject="Document01" identificationScheme="urn:uuid:58a6f841-87b3-4a3e-92fd-a8ffeff98427" value="000010^^^&amp;2.16.840.1.113883.3.837.1.2.2.1&amp;ISO">
    <rim:Name>
    <rim:LocalizedString value="XDSDocumentEntry.patientId"/>
    </rim:Name>
    </rim:ExternalIdentifier>
    <rim:ExternalIdentifier id="ei2" registryObject="Document01" identificationScheme="urn:uuid:2e82c1f6-a085-4c72-9da3-8640a32e42ab" value="2.25.327738767721190811955180206957800194086">
    <rim:Name>
    <rim:LocalizedString value="XDSDocumentEntry.uniqueId"/>
    </rim:Name>
    </rim:ExternalIdentifier>
    </rim:ExtrinsicObject>
    <rim:RegistryPackage id="SubmissionSet01">
    <rim:Slot name="submissionTime">
    <rim:ValueList>
    <rim:Value>201403201432</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Continuity of Care Document"/>
    </rim:Name>
    <rim:Classification id="cl8" classificationScheme="urn:uuid:a7058bb9-b4e4-4307-ba5b-e3f0ab85e12d" classifiedObject="SubmissionSet01">
    <rim:Slot name="authorPerson">
    <rim:ValueList>
    <rim:Value>LEIGHTON,KEVIN L            *</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="authorRole">
    <rim:ValueList>
    <rim:Value>Primary Care Provider</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Slot name="authorSpecialty">
    <rim:ValueList>
    <rim:Value>FAMILY PRACTICE</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    </rim:Classification>
    <rim:Classification id="cl9" classificationScheme="urn:uuid:aa543740-bdda-424e-8c96-df4873be8500" classifiedObject="SubmissionSet01" nodeRepresentation="34133-9">
    <rim:Slot name="codingScheme">
    <rim:ValueList>
    <rim:Value>LOINC</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    <rim:Name>
    <rim:LocalizedString value="Summarization of Episode Note"/>
    </rim:Name>
    </rim:Classification>
    <rim:ExternalIdentifier id="ei3" registryObject="SubmissionSet01" identificationScheme="urn:uuid:96fdda7c-d067-4183-912e-bf5ee74998a8" value="2.25.327738767721190811955180206957800194086">
    <rim:Name>
    <rim:LocalizedString value="XDSSubmissionSet.uniqueId"/>
    </rim:Name>
    </rim:ExternalIdentifier>
    <rim:ExternalIdentifier id="ei4" registryObject="SubmissionSet01" identificationScheme="urn:uuid:554ac39e-e3fe-47fe-b233-965d2a147832" value="2.16.840.1.113883.3.837.1.2.2.1">
    <rim:Name>
    <rim:LocalizedString value="XDSSubmissionSet.sourceId"/>
    </rim:Name>
    </rim:ExternalIdentifier>
    <rim:ExternalIdentifier id="ei5" registryObject="SubmissionSet01" identificationScheme="urn:uuid:6b5aea1a-874d-4603-a4bc-96a0a7b38446" value="000010^^^&amp;2.16.840.1.113883.3.837.1.2.2.1&amp;ISO">
    <rim:Name>
    <rim:LocalizedString value="XDSSubmissionSet.patientId"/>
    </rim:Name>
    </rim:ExternalIdentifier>
    </rim:RegistryPackage>
    <rim:Classification id="cl10" classifiedObject="SubmissionSet01" classificationNode="urn:uuid:a54d6aa5-d40d-43f9-88c5-b4633d873bdd"/>
    <rim:Association id="as1" associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:HasMember" sourceObject="SubmissionSet01" targetObject="Document01">
    <rim:Slot name="SubmissionSetStatus">
    <rim:ValueList>
    <rim:Value>Original</rim:Value>
    </rim:ValueList>
    </rim:Slot>
    </rim:Association>
    </rim:RegistryObjectList>
    </lcm3:SubmitObjectsRequest>
    <Document id="Document01">
    <xop:Include href="cid:[email protected]"/>
    </Document>
    </ProvideAndRegisterDocumentSetRequest>
    </soap:Body>
    </soap:Envelope>
    --Boundary_urn_uuid_f69030be-b05d-11e3-a6be-005056a80026
    Content-Type: text/xml; charset=UTF-8
    Content-Transfer-Encoding: binary
    Content-ID: <[email protected]>
    <?xml-stylesheet type="text/xsl" href="ccd.xsl"?>
    <ClinicalDocument xmlns:sdtc="urn:hl7-org:sdtc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
    <realmCode code="US"/>
    <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
    <templateId root="2.16.840.1.113883.10.20.22.1.1"/>
    <id root="f69030bf-b05d-11e3-a6be-005056a80026"/>
    <code code="34133-9" displayName="Summarization of Episode Note" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Continuity of Care Document</title>
    <effectiveTime value="20140320143242+0400"/>
    <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
    <languageCode code="en-US"/>
    <recordTarget>
    <patientRole>
    <id extension="000010" root="2.16.840.1.113883.3.837.1.2.2.1"/>
    <addr use="HP">
    <streetAddressLine>123 MAIN ST</streetAddressLine>
    <city>PITTSBURGH</city>
    <state>PA</state>
    <postalCode>15238</postalCode>
    </addr>
    <telecom value="724-" use="HP"/>
    <patient>
    <name>
    <given>april</given>
    <family>copath</family>
    </name>
    <administrativeGenderCode code="F" displayName="Female" codeSystemName="AdministrativeGender" codeSystem="2.16.840.1.113883.5.1"/>
    <birthTime value="19600415"/>
    <raceCode code="2106-3" displayName="White"/>
    <ethnicGroupCode nullFlavor="UNK"/>
    <languageCommunication>
    <languageCode nullFlavor="NI"/>
    </languageCommunication>
    </patient>
    </patientRole>
    </recordTarget>
    <author>
    <time value="20140320143242+0400"/>
    <assignedAuthor>
    <id root="2.16.840.1.113883.3.837.1.2.2.1"/>
    <addr>
    <streetAddressLine>ONE HOSPITAL WAY</streetAddressLine>
    <city>BUTLER</city>
    <state>PA</state>
    <postalCode>16001</postalCode>
    <country>USA</country>
    </addr>
    <telecom nullFlavor="NI"/>
    <assignedAuthoringDevice>
    <manufacturerModelName>Butler Memorial Hospital Interface Device</manufacturerModelName>
    <softwareName>MEDITECH HCIS</softwareName>
    </assignedAuthoringDevice>
    <representedOrganization>
    <id root="2.16.840.1.113883.3.837.1.2.2.1"/>
    <name>Butler Memorial Hospital</name>
    <telecom nullFlavor="NI"/>
    <addr use="WP">911 East Brady Street  Butler, PA 16001</addr>
    </representedOrganization>
    </assignedAuthor>
    </author>
    <custodian>
    <assignedCustodian>
    <representedCustodianOrganization>
    <id root="2.16.840.1.113883.3.837.1.2.2.1"/>
    <name>Butler Memorial Hospital</name>
    <telecom nullFlavor="NI"/>
    <addr>
    <streetAddressLine>ONE HOSPITAL WAY</streetAddressLine>
    <city>BUTLER</city>
    <state>PA</state>
    <postalCode>16001</postalCode>
    <country>USA</country>
    </addr>
    </representedCustodianOrganization>
    </assignedCustodian>
    </custodian>
    <participant typeCode="IND">
    <time nullFlavor="NI"/>
    <associatedEntity classCode="CAREGIVER">
    <addr>
    <streetAddressLine>1022B N MAIN ST</streetAddressLine>
    <city>BUTLER</city>
    <state>PA</state>
    <postalCode>16001</postalCode>
    </addr>
    <associatedPerson>
    <name>
    <given>KEVIN</given>
    <given qualifier="IN">L *</given>
    <family>LEIGHTON</family>
    </name>
    </associatedPerson>
    </associatedEntity>
    </participant>
    <participant typeCode="IND">
    <time nullFlavor="NI"/>
    <associatedEntity classCode="CAREGIVER">
    <addr>
    <streetAddressLine>104 TECHNOLOGY DRIVE,SUITE 102</streetAddressLine>
    <city>BUTLER</city>
    <state>PA</state>
    <postalCode>16001</postalCode>
    </addr>
    <associatedPerson>
    <name>
    <given>C</given>
    <given qualifier="IN">THOMAS *</given>
    <family>YOST</family>
    </name>
    </associatedPerson>
    </associatedEntity>
    </participant>
    <participant typeCode="IND">
    <time nullFlavor="NI"/>
    <associatedEntity classCode="NOK">
    <addr>
    <streetAddressLine>X</streetAddressLine>
    <city>X</city>
    <state>X</state>
    <postalCode>X</postalCode>
    </addr>
    <associatedPerson>
    <name>
    <given>X</given>
    <family>X</family>
    </name>
    </associatedPerson>
    </associatedEntity>
    </participant>
    <documentationOf>
    <serviceEvent classCode="PCPR">
    <effectiveTime>
    <low value="201312201432"/>
    <high value="201403201432"/>
    </effectiveTime>
    <performer typeCode="PRF">
    <functionCode displayName="primary care physician" codeSystem="2.16.840.1.113883.5.88" codeSystemName="HL7ParticipationFunction"/>
    <assignedEntity>
    <id root="2.16.840.1.113883.4.6" extension="37965"/>
    <addr use="WP">
    <streetAddressLine>1022B N MAIN ST</streetAddressLine>
    <city>BUTLER</city>
    <state>PA</state>
    <postalCode>16001</postalCode>
    </addr>
    <telecom value="(724)285-0820" use="WP"/>
    <assignedPerson classCode="PSN" determinerCode="INSTANCE">
    <name>
    <given>KEVIN</given>
    <given qualifier="IN">L *</given>
    <family>LEIGHTON</family>
    </name>
    </assignedPerson>
    <representedOrganization>
    <id root="2.16.840.1.113883.3.837.1.2.2.1"/>
    <name>Butler Memorial Hospital</name>
    <telecom nullFlavor="NI"/>
    <addr use="WP">911 East Brady Street  Butler, PA 16001</addr>
    </representedOrganization>
    </assignedEntity>
    </performer>
    </serviceEvent>
    </documentationOf>
    <component>
    <structuredBody>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.18"/>
    <code code="48768-6" displayName="Payment sources" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Insurance Providers</title>
    <text>
    <table>
    <thead>
    <tr>
    <th>Payer Name</th>
    <th>Policy Number</th>
    <th>Subscriber Name</th>
    <th>Relationship</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>BLUE CROSS 363             WPA</td>
    <td>SKLD</td>
    <td>april copath</td>
    <td>SELF</td>
    </tr>
    </tbody>
    </table>
    </text>
    <entry typeCode="DRIV">
    <act classCode="ACT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.60"/>
    <id root="f69030c0-b05d-11e3-a6be-005056a80026"/>
    <code code="48768-6" displayName="Payment sources" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
    <statusCode code="completed"/>
    <entryRelationship typeCode="COMP">
    <act classCode="ACT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.61"/>
    <id root="f69030c1-b05d-11e3-a6be-005056a80026"/>
    <code nullFlavor="NI"/>
    <statusCode code="completed"/>
    <performer typeCode="PRF">
    <templateId root="2.16.840.1.113883.10.20.22.4.87"/>
    <assignedEntity>
    <id root="f69030c2-b05d-11e3-a6be-005056a80026"/>
    <code code="PAYOR" codeSystem="2.16.840.1.113883.5.110" codeSystemName="HL7RoleClass"/>
    <addr use="WP">
    <streetAddressLine>FIFTH AVENUE PLACE</streetAddressLine>
    <city>PITTSBURGH</city>
    <state>PA</state>
    <postalCode>15222</postalCode>
    </addr>
    <representedOrganization>
    <name>BLUE CROSS 363             WPA</name>
    </representedOrganization>
    </assignedEntity>
    </performer>
    <participant typeCode="COV">
    <templateId root="2.16.840.1.113883.10.20.22.4.89"/>
    <time>
    <low nullFlavor="UNK"/>
    <high nullFlavor="UNK"/>
    </time>
    <participantRole classCode="PAT">
    <id root="f69030c3-b05d-11e3-a6be-005056a80026" extension="SKLD"/>
    <code code="SELF" displayName="Self" codeSystem="2.16.840.1.113883.5.111" codeSystemName="HL7RoleCode"/>
    <addr use="HP">
    <streetAddressLine>123 MAIN ST</streetAddressLine>
    <city>PITTSBURGH</city>
    <state>PA</state>
    <postalCode>15238</postalCode>
    </addr>
    <playingEntity>
    <name>
    <given>april</given>
    <family>copath</family>
    </name>
    </playingEntity>
    </participantRole>
    </participant>
    <entryRelationship typeCode="REFR">
    <act classCode="ACT" moodCode="DEF">
    <id root="f69030c4-b05d-11e3-a6be-005056a80026"/>
    <code nullFlavor="NA"/>
    <text>BLUE CROSS 363             WPA</text>
    </act>
    </entryRelationship>
    </act>
    </entryRelationship>
    </act>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.21"/>
    <code code="42348-3" displayName="Advance directives" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Advance Directives</title>
    <text>
    <table>
    <thead>
    <tr>
    <th>Directive</th>
    <th>Response</th>
    <th>Recorded Date/Time</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>Advanced Directives:</td>
    <td>NO</td>
    <td>03/06/14 8:08am</td>
    </tr>
    </tbody>
    </table>
    </text>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.5"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.5.1"/>
    <code code="11450-4" displayName="Problem list" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Problems</title>
    <text>No Known Problems or Medical conditions.</text>
    <entry>
    <act classCode="ACT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.3"/>
    <id root="f69030c5-b05d-11e3-a6be-005056a80026"/>
    <code code="CONC" displayName="Concern" codeSystem="2.16.840.1.113883.5.6" codeSystemName="HL7ActClass"/>
    <statusCode code="completed"/>
    <effectiveTime>
    <low nullFlavor="UNK"/>
    </effectiveTime>
    <entryRelationship typeCode="SUBJ" inversionInd="false">
    <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.1.28"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.5"/>
    <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
    <id root="f69030c6-b05d-11e3-a6be-005056a80026"/>
    <code nullFlavor="NA"/>
    <statusCode code="completed"/>
    <effectiveTime>
    <low nullFlavor="UNK"/>
    </effectiveTime>
    <value xsi:type="CD" nullFlavor="UNK"/>
    <entryRelationship typeCode="REFR">
    <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.1.50"/>
    <templateId root="2.16.840.1.113883.10.20.22.4.6"/>
    <code code="33999-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Status"/>
    <statusCode code="completed"/>
    <value xsi:type="CD" code="55561003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Active"/>
    </observation>
    </entryRelationship>
    </observation>
    </entryRelationship>
    </act>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.1"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
    <code code="10160-0" displayName="History of medication use" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Medications</title>
    <text>No Known Medications Information.</text>
    <entry>
    <substanceAdministration classCode="SBADM" moodCode="INT">
    <templateId root="2.16.840.1.113883.10.20.22.4.16"/>
    <id root="f69030c7-b05d-11e3-a6be-005056a80026"/>
    <statusCode code="completed"/>
    <effectiveTime xsi:type="IVL_TS">
    <low nullFlavor="NA"/>
    <high nullFlavor="UNK"/>
    </effectiveTime>
    <consumable>
    <manufacturedProduct classCode="MANU">
    <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
    <manufacturedMaterial>
    <code nullFlavor="NI">
    <originalText>
    <reference nullFlavor="NA"/>
    </originalText>
    </code>
    </manufacturedMaterial>
    </manufacturedProduct>
    </consumable>
    </substanceAdministration>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.17"/>
    <code code="29762-2" displayName="Social history" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Social History</title>
    <text>No social history.</text>
    <entry typeCode="DRIV">
    <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.78"/>
    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
    <statusCode code="completed"/>
    <effectiveTime>
    <low nullFlavor="UNK"/>
    </effectiveTime>
    <value xsi:type="CD" code="266927001" displayName="Unknown if ever smoked" codeSystem="2.16.840.1.113883.6.96"/>
    </observation>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.41"/>
    <code code="8653-8" displayName="Hospital Discharge Instructions" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Hospital Discharge Instructions</title>
    <text>No hospital discharge instructions.</text>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.10"/>
    <code code="18776-5" displayName="Plan of Care" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Plan of Care</title>
    <text>No plan of care.</text>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.14"/>
    <code code="47420-5" displayName="Functional Status" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Functional Status</title>
    <text>No functional status results.</text>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.6"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
    <code code="48765-2" displayName="Allergies, adverse reactions, alerts" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Allergies, Adverse Reactions, Alerts</title>
    <text>No Known Allergies or Alert Problems.</text>
    <entry>
    <act classCode="ACT" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.30"/>
    <id root="f69030c8-b05d-11e3-a6be-005056a80026"/>
    <code code="48765-2" displayName="Alleriges, adverse reactions, alerts" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
    <statusCode code="completed"/>
    <effectiveTime>
    <low nullFlavor="UNK"/>
    <high nullFlavor="UNK"/>
    </effectiveTime>
    <entryRelationship typeCode="SUBJ" inversionInd="false">
    <observation classCode="OBS" moodCode="EVN" nullFlavor="NI">
    <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
    <id root="f69030c9-b05d-11e3-a6be-005056a80026"/>
    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
    <statusCode code="completed"/>
    <effectiveTime>
    <low nullFlavor="UNK"/>
    <high nullFlavor="UNK"/>
    </effectiveTime>
    <value xsi:type="CD" code="419199007" displayName="Allergy to Substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
    </observation>
    </entryRelationship>
    </act>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.2"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.2.1"/>
    <code code="11369-6" displayName="History of immunizations" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Immunizations</title>
    <text>No Known History of Immunizations.</text>
    <entry typeCode="DRIV">
    <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
    <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
    <id root="f69030ca-b05d-11e3-a6be-005056a80026"/>
    <code code="IMMUNIZ" codeSystem="2.16.840.1.113883.5.4"/>
    <statusCode code="completed"/>
    <effectiveTime nullFlavor="NI" xsi:type="IVL_TS"/>
    <consumable>
    <manufacturedProduct classCode="MANU">
    <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
    <manufacturedMaterial classCode="MMAT">
    <code nullFlavor="UNK"/>
    </manufacturedMaterial>
    </manufacturedProduct>
    </consumable>
    </substanceAdministration>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.4"/>
    <code code="8716-3" displayName="Vital signs" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Vital Signs</title>
    <text>No Known Vital Signs Results.</text>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.7"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.7.1"/>
    <code code="47519-4" displayName="History of procedures" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Procedures</title>
    <text>No Known History of Procedures.</text>
    <entry>
    <procedure classCode="PROC" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.14"/>
    <id root="f69030cb-b05d-11e3-a6be-005056a80026"/>
    <code nullFlavor="UNK"/>
    <statusCode code="completed"/>
    <effectiveTime nullFlavor="NI"/>
    </procedure>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.3"/>
    <templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
    <code code="30954-2" displayName="Relevant diagnostic tests" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Results</title>
    <text>No Known Relevant Diagnostic Tests, Laboratory Data and/or Discharge Summary.</text>
    <entry>
    <organizer classCode="BATTERY" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.1"/>
    <id nullFlavor="NA"/>
    <code nullFlavor="NA"/>
    <statusCode code="completed"/>
    <effectiveTime nullFlavor="UNK"/>
    <component>
    <observation classCode="OBS" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
    <id nullFlavor="NA"/>
    <code code="25436-6" displayName="Laboratory Results" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
    <statusCode code="completed"/>
    <effectiveTime nullFlavor="UNK"/>
    <value xsi:type="PQ" nullFlavor="NA"/>
    </observation>
    </component>
    </organizer>
    </entry>
    </section>
    </component>
    <component>
    <section>
    <templateId root="2.16.840.1.113883.10.20.22.2.22"/>
    <code code="46240-8" displayName="History of encounters" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Encounters</title>
    <text>
    <table>
    <thead>
    <tr>
    <th>Encounter</th>
    <th>Location</th>
    <th>Date/Time</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td ID="encounter-1">Admitted Inpatient</td>
    <td>Butler Memorial Hospital</td>
    <td>03/06/14 8:08am</td>
    </tr>
    </tbody>
    </table>
    </text>
    <entry typeCode="DRIV">
    <encounter classCode="ENC" moodCode="EVN">
    <templateId root="2.16.840.1.113883.10.20.22.4.49"/>
    <id root="f69030cc-b05d-11e3-a6be-005056a80026" extension="10009769"/>
    <code nullFlavor="NI">
    <originalText>Admitted Inpatient</originalText>
    </code>
    <effectiveTime>
    <low value="20140306"/>
    </effectiveTime>
    <performer>
    <assignedEntity>
    <id root="f69030cd-b05d-11e3-a6be-005056a80026"/>
    <code code="405279007" displayName="Attending Physician" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
    <addr/>
    <telecom nullFlavor="NI"/>
    <assignedPerson classCode="PSN" determinerCode="INSTANCE">
    <name/>
    </assignedPerson>
    </assignedEntity>
    </performer>
    </encounter>
    </entry>
    </section>
    </component>
    </structuredBody>
    </component>
    </ClinicalDocument>
    --Boundary_urn_uuid_f69030be-b05d-11e3-a6be-005056a80026

    Hi Smealio,
    As you are getting "Data at the root level is invalid " you  need to validate the request xml message against your schema and modify your schema according to the client request Message.
    Thanks
    Abhishek

  • Using HTTP Receive ocation in BizTalk

    Hi All,
     I want to receive messages by using HTTP Receive location in BizTalk. Below are my steps.
    1. Created App pool with .net framework 4 in IIS 7
    2. Created virtual directory 'BTSHTTPReceive' with 64bit BTSHTTPReceive.dll with the above app pool in IIS 7
    3. Created HTTP receive location in BizTalk with /BTSHTTPReceive/BTSHTTPReceive.dll and started in admin console of BizTalk
    Correct me if I am wrong.
    Now my question is,
    How to send message to HTTP receive location of BizTalk?
    Is there any tool to push message to BizTalk via HTTP adapter?
    Thanks UK

    You need to use post method. however check here what to use based on your requirement.
    Also you can set the user authentication/password details in Soap UI.
    Before that please go through the sub topics at here to validate if your configuration is correct and make changes if required, be it at IIS level or
    at BizTalk host level or at SOAP UI, where ever needed.
    Also make sure the account which you are using to post the message has proper access to IIS/Biztalk. 
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • What's the difference between "Receive Port" and "Receive Location" ?

    Hi Everyone,
    I am just starting to learn BizTalk, confused with some concepts, please help me figure out following doubt.
    What is the difference between  “Receive Port – Receive Location” relation and “Send Port Group – Send Port” relation?
    Thanks.
    wang

    Receive Port:
    A receive port is a logical grouping of similar receive locations through which services interact with external partners by receiving data. You can create the following types of receive ports: One-way — used for applications that drop off a message and do
    not wait synchronously for a reply; Request-response — used with applications that require a response to a message
    Receive Location:
    A receive location is the combination of a specific address at which inbound messages arrive and a specific address of the messaging pipeline that processes the messages received at the first specific address. Receive locations are created in BizTalk Explorer
    as part of the process of creating a receive port. There are two types of receive locations: One-way- Used for applications that drop off a message and do not wait for a synchronous reply; Request-response- Used with applications that require a response to
    a message. We can say that they are the physical, design-time notion of a location (such as a URL) and an adapter type. A receive location in the Host node in the BizTalk Server Administration console, defines the receive functionality. 
    Send Port: A
    send port is the location to which Microsoft® BizTalk® Server sends messages or from which BizTalk Server receives messages. It also provides the technology that BizTalk Server uses to implement the communication action.
    Send Port Group:
    A send port group is a named collection of send ports that you can use to send the same message to multiple destinations in a single configuration. This is useful when you want to send a message to multiple destinations. 
    You can find this useful
    glossary for any biztalk concepts
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

  • BizTalk 2006 R2 Receive Location )File - XLS) Being Read Twice?

    Scenario: IBM ESB is writing a XLS file to a UNC path that is polled by BizTalk 2006 R2 Receive Location (File) but the file is being processed twice on a few occasions that cannot be reproduced. The polling interval is set to 60 seconds and then the file
    is removed. My developed confirmed the duplicate processing via our database that records incoming messages.
    Any idea on how to proceed?
    -Shawn
    Shawn ([email protected])

    Update! 
    I was able to duplicate this issue but I haven’t determined root cause yet. This one is a bit tricky. I kept processing files until I noticed some warnings in the EventViewer. The BizTalk service became disabled and then re-enabled
    causing the message to be processed again. Any ideas?
    4:20:59 PM – I re-enabled but this must automatically be done by BizTalk for the duplicate message to be processed
    The following BizTalk host instance has initialized successfully.
     BizTalk host name: BizTalkServerApplication
     Windows service name: BTSSvc$BizTalkServerApplication
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    4:20:32 PM
    An error occurred that requires the BizTalk service to terminate. The most common causes are the following:
     1) An unexpected out of memory error.
     OR
     2) An inability to connect or a loss of connectivity to one of the BizTalk databases.
     The service will shutdown and auto-restart in 1 minute. If the problematic database remains unavailable, this cycle will repeat.
     Error message: Exception has been thrown by the target of an invocation.
     Error source: mscorlib
     BizTalk host name: BizTalkServerApplication
     Windows service name: BTSSvc$BizTalkServerApplication
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    4:19:48 PM
    All receive locations are being temporarily disabled because either the MessageBox or Configuration database is not available. When these databases become available, the
    receive locations will be automatically enabled.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    4:19:34 PM
    The Messaging Engine failed to retrieve the configuration from the database. Details:"The database cannot be accessed because the system is recovering from an earlier database
    failure. ".
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Shawn ([email protected])

  • BizTalk AS2 receive location (500.0 error) reported by eternal party when trying to reach BizTalk 2010.

    
    Hi There - 
    We are facing AS2 connection problem with one of our customers. Following is scenario.
    Problem Scenario –
    We BizTalk 2010 server with which we are trying to connect one of our customer’s bank for secure communication.
    Our UAT box  has been done with a successful test connection with that bank however when we move to production server, whenever the Bank try to send any simple .txt file via AS2 protocol, we do not receive the file and bank receive an error following
    message .
     <div><fieldset>   <h2>500
    - Internal server error.</h2> 
      <h3>There is a problem with the resource you are looking for, and it cannot be displayed.</h3> 
    Bank has AS2 setup on following environment.
    AS2 Software Used
    Connect Enterprise
    AS2 Software Provider
    Sterling Commerce  (IBM Mail Slot)
    Platform on which AS2 Software is installed
    AIX
    I have compared the UAT and Production servers AS2 receive URL configurations and these are completely alike.
    Whenever I try browsing the virtual directory setup for AS2 from IIS 7.0 or from
    internet explorer with hostname and virtual directory, I get 500.0 internal error which following post says is absolutely fine, this should not be a problem.
    XXXXXXX
    I have setup the IIS Log trace. Following are the traces from IIS. 
    Action Performed to resolve the issue.
    Compared the UAT and Production server settings both are alike.
     Setup the AS2 receive with reference of following URL .
    http://msdn.microsoft.com/en-us/library/bb727975.aspx
    http://biztalk-dish.blogspot.com.au/2012/07/guidance-on-edi-over-as2-in-biztalk.html
    http://www.biztalkbill.com/Home/tabid/40/EntryId/66/Configuring-BTSHTTPReceive-dll-to-work-on-IIS-7.aspx
    Installed the party certificates by referring following URL
    http://msdn.microsoft.com/en-us/library/aa559902.aspx#step5
    App Pool a/c and (Isolated and Inproc) host a/c and the receive pipline host a/c are same and certificates has been installed by loggin to server with same account .
    Firewall ports are open to accept the traffic, I have to log from network team.
    I tried following URL.
    http://go4answers.webhost4life.com/Example/http-receive-url-without-78425.aspx  (I have suffix the DLL name to the URL which party has to reach.
    Example - http://XXXXXXX/EDIIN/BTSHTTPReceive.dll
    http://hostname/virutalDirectory/BTSDLL
    I have tried resolving 403/ 405 error which sometimes reported in my IIS error log, which generally arrive after reset of IIS 7.0
    Using URL -        
    http://go4answers.webhost4life.com/Example/btshttpreceivedll-405-error-57131.aspx
    http://biztalk-diary.blogspot.com.au/2010/05/btshttpreceive-error-405-method-not.html
    IIS errors has been referenced using following Url
    http://support.microsoft.com/kb/943891/en-us
    following are the error logs from IIS 7.0 log file, whenever party sends any message to our server.
    2013-12-14 19:02:59 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 9812
    2013-12-14 19:03:48 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 343
    2013-12-14 19:04:48 10.83.241.83 POST /EDIIN/BTSHTTPReceive.dll - 80 - 10.83.251.4 Jakarta+Commons-HttpClient/3.0-rc4 500 0 0 406
    Sometimes I find following entries though
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
    2013-12-14 20:10:55 ::1 GET /EDIIN - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    301 0 0 453
    2013-12-14 20:10:55 ::1 GET /EDIIN/ - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+WOW64;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    500 0 193 15
    Any advice will be a great help.
    Please Note: We have setup other virtual directories for receive HTTP connection using (BTSHTTPReceive.dll) file and these connections has been setup using same user account and are working perfectly fine.
    I repeat,
    >>           I have compared all the configurations for AS2 receive location with other setup on Production for other customers ( this is similar)
    >>           I have cross checked the setting with UAT box where connection with this Bank is working absolutely fine but in production it is NOT and configurations are similar.

    Hi,
    It maybe windows firewall issue. you can try create a Windows Firewall exception if
    Windows Firewall is running on your server. And please refer the blog about 500 error in iis which might helpful:
    http://support.microsoft.com/kb/942031/en-us
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • SFTP Adapter Receive location does not work on BizTalk 2013

    I am using SFTP 32 bit Adapter on BizTalk 2013 , I have provided proper credentials like user name and password, server name, port #......but the file is being not picked.
    Iam dropping just 1 file at a time, but why doesn't it work ?
    Please suggest
    MBH

    The Messaging Engine failed to add a receive location "corp.Integration.RP.SeTwoAxis_rcvPayad" with URL "sftp://dcla.sftp.xxxxcorp.com:22/users/mnopt_user/sereng/IN/*.txt" to the adapter "SFTP". Reason: "Microsoft.BizTalk.Adapter.SftpInvoker.SftpException:
    List remote directory error.
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.ListRemoteDirectory(String dirname)
       at Microsoft.BizTalk.Adapter.Sftp.SftpRLConfig.ValidateConfiguration(SftpReceivePropertyBag receivePropertyBag)
       at Microsoft.BizTalk.Adapter.Sftp.SftpRLConfig.CreateBinding(RHConfig rhConfig)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.BtsServiceHostBase.InitializeRuntime()
       at System.ServiceModel.ServiceHostBase.OnBeginOpen()
       at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
       at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)".
    MBH

  • The Messaging Engine failed to register the adapter for "WCF-BasicHttp" for the receive location

    Could anyone please help in resolving the following
    error:
    Server Error in '/BizTalkXXXMyAppWcfService' Application.
    The Messaging Engine failed to register the adapter for "WCF-BasicHttp" for the receive location "/BizTalkXXXMyAppWcfService/XXXMyApp.svc".
    Please verify that the receive location exists.
    It does exist: When I go to All Artifacts >> Receive Locations I can see: WcfService_BizTalkXXXMyAppWcfService/XXXMyApp
    Also it is Enabled, green, up and running.
     …and that the isolated adapter runs under an account that has access to the BizTalk databases. – Checked, the BizTalkUser has all the permissions to access BizTalk databases.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: The Messaging Engine failed to register the adapter for "WCF-BasicHttp" for the receive location "/BizTalkXXXMyAppWcfService/XXXMyApp.svc". Please verify that the receive
    location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [COMException (0xc0c01666): The Messaging Engine failed to register the adapter for "WCF-BasicHttp" for the receive location "/BizTalkXXXMyAppWcfService/XXXMyApp.svc". Please verify that the receive location exists, and that the isolated
    adapter runs under an account that has access to the BizTalk databases. ]
       Microsoft.BizTalk.TransportProxy.Interop.IBTTransportProxy.RegisterIsolatedReceiver(String url, IBTTransportConfig callback) +0
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfIsolatedReceiver`2.RegisterIsolatedReceiver(Uri uri) +318
    [AdapterException: Failed to register isolated receiver for address "/BizTalkXXXMyAppWcfService/XXXMyApp.svc"; receive location does not exist or is disabled.]
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfIsolatedReceiver`2.RegisterIsolatedReceiver(Uri uri) +875
       Microsoft.BizTalk.Adapter.Wcf.Runtime.WebServiceHostFactory`3.CreateServiceHost(String constructorString, Uri[] baseAddresses) +363
       System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1423
       System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +50
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1132
    [ServiceActivationException: The service '/BizTalkXXXMyAppWcfService/XXXMyApp.svc' cannot be activated due to an exception during compilation.  The exception message is: Failed to register isolated receiver for address "/BizTalkXXXMyAppWcfService/XXXMyApp.svc";
    receive location does not exist or is disabled..]
       System.Runtime.AsyncResult.End(IAsyncResult result) +890624
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +180062
       System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +107

    Hi,
    This seems  to be a permission issue.
    Makesure account used in the application pool is a member of the BizTalk Isolated Host Users group.
    Also its working considering either make the ASPNET user account a member of your BizTalk Isolated Host Users group to make sure it has access to the biztalk databases (or change the asp.net services to run under a different account, which would need
    to be done from the framework's core .config files)
    Regards
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • Biztalk AS400 Receive location: Error

    One of my integration points is an AS400 file location. My application picks up files from this location. However, once all files are consumed, the receive location encounters an error and turns off. It happens for not one but three of my receive locations.
    They all point to different file locations but have the same error. The error is below
    The receive location with URL is shutting down. Details:"The FILE receive adapter cannot monitor receive location 
    I read somewhere that this is an existing issue and that to fix it would require implementing a custom File receive adapter. Are there other options?

    when all the files in the folder are processed, file adapter tries to register for next change event notification. But if this event fails then the receive location will shut down. Yes this is a known issue and receive location cannot restart on its own
    once it gets shutdown.
    The few resolutions that can be implemented are
    1. if you have a BizTalk monitoring process like SCOM or any other, when you get alerts of this kind, you have to enable the receive location again manually
    2. or else you can configure a script or a windows scheduled job that enables the receive location when it is shut down.
    for more information you can have a look at  here or
    here and here
    Please mark the post as answer if this answers your question. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Biztalk receive location

    I'm trying to process a file with 70 MB but the receive location "IN folder" is not picking it up.
    To make sure that the receive location is working, I dropped a 10 KB size file and it picked it up quickly. So the receive location is working properly. 
    So why my receive location is not able to process a 70 MB ?
    Christiane

    Hi Christiane,
    I tried with 94.3037 MB EDI file using EDIReceive pipeline and it was processed, but it took 28 mins to process the file.
    And then after individual files (transactions) are getting
    send to destination...
    so far 5566 files are done (in one hour)....
    still counting 
    Offcourse the performance is not
    great but that was expected as the encounter is with EDI file
    that too large in size. And it is because while transformation from EDI to XML in pipeline annotations are
    added thus leading to increase
    of size.
    This is certainly a limitation, adding a dedicated host should help upto some
    extent, and I guess there is
    a
    EDI Accelerator from
    covast which
    does overcome this limitation by removing the annotations (I haven't used it)
    Maheshkumar S Tiwari|User
    Page | http://tech-findings.blogspot.com/

  • CSoap Excep Transport Http receive failed with Excp Commc_failure(100.101)

    Hi Experts;
    Am working with adobe forms. T-code SFP (Form Builder)
    I have  created a adobe form, Layout and all...
    when i Activate the Form, it's not Activating and it's showing the Status information like...
    Status Information: SOAP Framework error:SOAP Runtime Exception: CSoap Exception Transport: Http receive failed with Exception Communication_failure(100.101).
    Please Give your Suggestions !!
    Thanks
    Upender.

    Hi wd4a Adobe community
    here is another guy who has exactly the same problem trying to reproduce the example of: INTERACTIVE FORMS BY ADOBE IN WEB DYNPRO ABAP - INTRODUCTION ( http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/806cf26c-22e7-2c10-8ca3-a671648fd2ea ).
    Anyone out in this world who has a suggestion?
    thanks in advance ...
    Stefan

  • Biztalk SCOM 2007 R2 Automatically starting receive locations that are shut down

    Need steps to turn on receive locations automatically that are down. Could you please guide me to implement the script to do it. I am new to SCOM. Appreciate your help.

    Hi,
    When a port is disabled, an event 'xxx port is shutting down' is written to the event log, Then you can utilize SCOM to watch for the event, then write a script to restart it.
    Juke Chou
    TechNet Community Support

  • Could not retrieve transport type data for Receive Location

    can someone lend me a help to this error, i was encountering this error for days, and i haven't found solution till now, thanks in advance!\
    Could not retrieve transport type data for Receive Location 'Receive' from config store. Primary SSO Server 'server' failed. No credentials have been set for the mapping.
     (Microsoft.BizTalk.ExplorerOM)
    For help, click: http://go.microsoft.com/fwlink/?LinkId=47400&ProdName=Microsoft+BizTalk+Server+2010&ProdVer=3.9.469.0&EvtSrc=Microsoft.BizTalk.ExplorerOM.Resources&EvtID=IDS_ERR_RL_SSO_GETCONFIG

    After a long time of googling finally I got the problem resolved. The steps I followed are as follows:
    Go To SSO Adminnistration -> System -> Restore Secret and select the secret file.
    If you dont know the path of the secret file try once in the location "C:\Program Files\Common Files\Enterprise Single Sign-On".
    Select the file and provide the password. Once the master secret restores the error will not come.

  • Singleton pattern, scheduled receive location and suspended orchestrations

    Hello,
    In our project we have several orchestrations that are triggered every minute with the Scheduler Adapter (business requirement is near real-time).
    Each of these orchestration must have only 1 instance running at the same time, so we have implemented the singleton pattern. We followed a design like this one: https://fehlberg.wordpress.com/2008/06/06/biztalk-singleton-orchestration-design/
    But we end up having suspended orchestrations with the error "The instance completed without consuming all of its messages. The instance and its unconsumed messages have been suspended."
    I know it's a risk with this pattern. I thought it would happen only when the instance would run in more than 1 min (because the scheduler adapter is sending a file every minute).
    But it happens even with some instances running in about 15sec, so there is something I don't understand, here is an example:
    Here we can see that the TransferRegion orchestration started at 10:26:00 (which is expected) and failed.
    When I open the orchestration debugger, the time is different, the orchestration is shown starting at 10:26:44 (44 sec later):
    And the orchestration ended at 10:27:00:453.
    The message not consumed that caused the error has been triggered at 10:27:00.
    So I understand that the message arrived just after the listen shape but before the orchestration ends, but I don't understand why the orchestration started 44 sec after is was supposed to ...
    Any idea? I'm kind of clueless for now ...

    So, are these 8 Orchestrations actually processing messages or are they doing some other work every minute or so?
    If they're not processing actual messages, maybe a Windows Service or job scheduled by the SQL Agent or Windows Scheduler would be more...appropriate.  We all love BizTalk, but some parts of the stack do some things better.
    If they are processing messages or doing some genuine BPI type work, calling services, transformations etc., then maybe a Singleton+Scheduled Task is not the best solution.
    I'm assuming the actual requirement is the process must run with no less than 1 minute between executions, but if an execution takes >1 min, don't overlap.  An internal 1 min timer would probably work very well, but you still have the problem of
    activating and deactivating the Orchestration.  You'd basically have to build some control infrastructure similar to the EDI Batching Service.
    Here's a completely different suggestion:
    SQL Table that maintains the state of each process, say Active or Complete.
    Poll every 15 seconds a Stored Procedure that tests the status and returns an activation message when that process shows Complete.  It would flip it to Active at the same time.
    Orchestration runs and the last shape sends a message to change the status to Complete.
    Rinse Repeat.  No long running Orchestrations, Singletons, Correlations, etc...
    Hi John,
    We have 8 independent orchestrations. Each of them is triggered by different scheduled receive location.
    The orchestrations then process messages (calling stored procedures, mapping and calling web services).
    You are right for the requirement. I tried to deactivate the receive location at the beginning of the process and restart it at the end, but I ran into some weird errors on the SSO DB and others like "Could not retrieve transport type data for Receive
    Location 'Trigger_xxxxx_SCHEDULE' from config store. The transaction associated with the current connection has completed but has not been disposed.  The transaction must be disposed before the connection can be used to execute SQL statements."
    Thanks for the new design suggestion, I will see the effort required and if the client approves it ;)

  • Processing Multiple Files for more than 100 Receive Location - File Size - 25 MB each file, file type DML

    Hi Everybody
    Please suggest.
    For one of our BizTalk interface, we have around 120 receive locations.  We are just moving (*.dml) files from the source to destination without doing any processing.  
    We receive lots of files in different receive locations and in few cases the file size will be around 25 MB and so while moving these large files, the CPU usage is varying between 10% to 90+% and the time consuming for this single huge file is around
    10 to 20 minutes.  This solution was already in place and was designed by the previous vendor for moving the files to their clients.  Each client has 2 receive locations and they have around 60 clients.  Is there any best solution for implementing
    this with in BizTalk or outside BizTalk? Please suggest.
    I am also looking for how to control the number of files which gets picked from the BizTalk receive location.  For example, If we have say 1000 files in receive location and we want to pick at a time only 50 files only (batch of 50) then is it possible?
    because currently it is picking all the files available in source location, and one of the process is dropping thousands of files in to the source location, so we want to control  the number of files getting picked (or even if we can control to pick the
    number of KBs).  Please guide us on how we can control the number of files.

    Hi Rajeev,
    25 MB per file, 1000 files. Certainly you got to revisit the reason for choosing BizTalk.
    “the time consuming for this single huge file is around 10 to 20 minutes”
     - This is a problem.
    You could consider other file transfer options like XCopy or RobotCopy etc if you want to transfer to another local/shared drive. Or you can consider using SSIS
    which does comes with many adapters to send to destination system depending on their destination transfer protocol.
    But in your case, you have some of the advantages that you get with BizTalk. For your scenario, you have more source systems (more Receive locations), with BizTalk
    it’s always easier to manage these configurations, you can easily enable and disable them when a need arise. You can easily configure tracking; configure host instances based on load etc. So you can consider following design for your requirement. This design
    would suit you well since you’re not processing the message and just pass it through from source to destination:
    Use a custom pipeline component in the Receive Locations which receives the large file.
    Stores the received file into disk and creates a small XML metadata message that contains the information about where the large file is stored.
    The small XML message is then published into the
    message box db
    instead of the large file. Let the metadata file also contain the same context properties as the received file.
    In the send port, use another custom pipeline component that process the metadata xml file, retrieve the location of the disk where the file is stored, access the file and send it to destination.
    Read the following article on this design..
    http://www.codeproject.com/Articles/180333/Transfer-Large-Files-using-BizTalk-Send-Side
    This way you don’t need to publish the whole message into message box DB which would considerably reduce the processing time and utilises host instance to process
    more files. This way you can still get the advantages of BizTalk and still process large files.
    And regarding your question of restricting the Receive location to handles the number of files from receives location. No it’s not possible.
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • How to maintain the state in the cluster environment?

    HI Guys, I had a list with String values.I deployed the project in the cluster. I had a get method which will be invoked by servers in the cluster. when the request given by first server. it has to remove the first value in the list. when the request

  • EXPORT Problem. when i choose USER mode, it is exporting full database

    Dear OTN Members, we have a system ORacle 8i, 8.1.3 database, we created a user with DBA role, when we want to export data for a perticular user, after giving USER MODE Option, it is doing full database export including sys, system etc. what is the r

  • USB DSL modem

    It is just my passing infomation to you just in case anybody need it. mine is 0572:cb00 in order for this to work with Archlinux I had to -copy from the debian tree : /usr/lib/pppd/2.4.4 directory to the archlinux : /usr/lib/pppd/ -copy the files cxa

  • Terrence Devlin, can you help?

    Dear Terrence, I am sure that you have an answer to the question about "batch-downsizing" of iPhotos. Contained in " How to "downsize" pix in the iPhoto Library? asked on June 17th. Since I got no responses from the community of my question, I use th

  • Msg 6.2 - Msg 6.3 - Msg 6.2 on backend Store

    Last week we patched our Stores from 6.2 to 6.3 (6.2-8.04 to 6.3-6.02). Due to some performance or stability issues, we had to back out of it using patchrm. MMPs/MEMs were not touched and remained at 6.2-8.04. WebMail is an ME only environment - no U