Microsoft KB Archive/917846

= The BizTalk Server process closes unexpectedly in BizTalk Server 2006 =

Article ID: 917846

Article Last Modified on 5/5/2006

-

APPLIES TO


 * Microsoft BizTalk Server 2006 Standard Edition
 * Microsoft BizTalk Server 2006 Developer Edition
 * Microsoft BizTalk Server 2006 Enterprise Edition

-





SYMPTOMS
In Microsoft BizTalk Server 2006, the BizTalk Server process (Btsntsvc.exe) may close unexpectedly. You may not receive any errors in the Application event log.



CAUSE
This issue occurs if all the following conditions are true:
 * The BizTalk Server process is configured as the host for a file send handler.
 * The file send handler is configured in a send port to write to a UNC share.
 * The UNC share has insufficient disk space.

In this scenario, the BizTalk Server process closes if the disk is full. The System.IO.FileStream object does not catch all the exceptions in the Finalize method. Therefore, the BizTalk Server process closes.



RESOLUTION
To resolve this issue, free disk space on the UNC share. To prevent the BizTalk Server process from closing unexpectedly, follow these steps:  Click Start, click Run, type notepad, and then click OK . Click File, and then click Open. In the Files of type list, click All Files. Locate and then click the BTSNTSvc.exe.config file or the BTSNTSvc64.exe.config file, and then click Open.

Note By default, the BTSNTSvc.exe.config file and the BTSNTSvc64.exe.config file are located in the :\Program Files\Microsoft BizTalk Server 2006 folder. is the hard disk where BizTalk Server 2006 is installed.  In Notepad, manually add the following code to the file.  The file may resemble the following sample code.  <probing privatePath=&quot;BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop&quot; /> </assemblyBinding>

<legacyUnhandledExceptionPolicy enabled=&quot;true&quot; /> </li> On the File menu, click Save.</li> On the File menu, click Exit.</li> Restart the BizTalk Server process.</li></ol>

Keywords: kbtshoot kbprb kbcode kbbtsadapters kbbts KB917846

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.