Microsoft KB Archive/885195

= You may receive a &quot;Cant make a connection to BizTalk for document&quot; error message when you send a message through a send port that uses the EDI transport in BizTalk Server 2004 =

Article ID: 885195

Article Last Modified on 3/20/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Developer Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Standard Edition

-





SYMPTOMS
In Microsoft BizTalk Server 2004, when you send a message through a send port that uses the EDI transport, you may receive the following error message in the application event log:

Event Type: Error

Event Source: EDI Subsystem

Event Category: BizTalk Server 2004

Event ID: 23

Date: 2/17/2005

Time: 4:55:34 PM

User: N/A

Computer:

Description: Error encountered: ERROR (1030), interchangenr 10037 : COM_SendMessage: Cant make a connection to BizTalk for document #10037. Errorcode is -1030

Note In this error message, the word &quot;Cant&quot; is a misspelling for the word &quot;Can't.&quot;



CAUSE
This issue occurs if you have not configured and enabled a receive location that uses the EDI transport.



RESOLUTION
To resolve this issue, configure and then enable a receive location that is bound to the EDI transport. To configure the receive location, follow these steps:  Start Microsoft Visual Studio .NET. On the View menu, click BizTalk Explorer. In BizTalk Explorer, expand Receive Ports, expand Receive Locations, right-click the receive location that you want to enable, and then click Edit. The Receive Location Properties dialog box appears. In the left pane, click the General node. In the Name box, type a name for the receive location. In the right pane, follow these steps: <ol style="list-style-type: lower-alpha;"> In the Transport Type list, click EDI.</li> In the Address (URI) box, click the ellipsis button (...).</li> In the EDI Transport Properties dialog box, type your logical address in the Logical Address box.</li> In the Functional Acknowledgements list, click the setting that you want.</li> In the Supported document types for EDIFACT list, click the supported EDIFACT document type that you want.</li> In the Supported document types for X-12 list, click the supported X-12 document type that you want, and then click OK.</li> In the Host list, click the host for the receive handler.</li> In the Receive Handler list, click the receive handler.</li> In the Receive Pipeline list, click the receive pipeline.</li> In the Start Date box, choose the start date.</li> In the Stop Date box, choose the stop date, and then click OK.</li></ol> </li></ol>

To enable the receive location, follow these steps:
 * 1) In Visual Studio .NET, in a BizTalk Server project, click BizTalk Explorer on the View menu.
 * 2) In BizTalk Explorer, expand Receive Ports, expand Receive Locations, right-click the receive location that you want to enable, and then click Enable.

The receive location is now enabled.

<div class="references_section">