Microsoft KB Archive/935231

= Error message when you try to run a BizTalk Server 2006 project by using the BizTalk Adapter for Host Files: &quot;Could not load file or assembly&quot; =

Article ID: 935231

Article Last Modified on 5/16/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2006
 * Microsoft BizTalk Adapter for Host Systems

-



SYMPTOMS
When you try to run a Microsoft BizTalk Server 2006 project by using the BizTalk Adapter for Host Files, you receive an error message that resembles the following:

The Messaging Engine failed to create the transport adapter &quot;Host_AS400&quot;.

OutboundAssemblyPath: &quot;NULL&quot;

OutboundTypeName: &quot;Microsoft.HostIntegration.Adapters.MsHostFile.Runtime.HostFileTransmitter, Microsoft.HostIntegration.Adapters.MsHostFile.Runtime, Version=7.0.2300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&quot;

Exception Details: &quot;Could not load file or assembly 'Microsoft.HostIntegration.Adapters.MsHostFile.Runtime, Version=7.0.2300.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.&quot;

Note This error message indicates a problem with the Microsoft.HostIntegration.Adapters.MsHostFile.Runtime.dll file. However, the problem may also occur with the following files:
 * Microsoft.HostIntegration.Adapters.MsDb2.Runtime.dll
 * Microsoft.HostIntegration.Adapters.MsTi.Runtime.dll



RESOLUTION
To resolve this problem, you must first verify that the global assembly cache entries are correct. Then, you must verify that the Microsoft SQL Server path locations are correct. To do this, follow these steps:  Verify that the global assembly cache entries are correct. To do this, follow these steps:  Use Windows Explorer to browse through the %WINDIR%\assembly folder. Make sure that the following entries are present.   Verify that the SQL Server path locations are correct for the .dll files. To do this, follow these steps:  Start SQL Server Management Studio. Expand Databases, expand BizTalkMgmtDb, and then expand Tables. Right-click dbo.adm_Adapter, and then click Open Table.</li> In the Name column, locate the MsDb2 entry.</li> In the InboundAssemblyPath column for the MsDb2 entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsDb2.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li> In the OutboundAssemblyPath column for the MsDb2 entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsDb2.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li> In the Name column, locate the MsHostFile entry.</li> In the InboundAssemblyPath column for the MsHostFile entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsHostFile.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li> In the OutboundAssemblyPath column for the MsHostFile entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsHostFile.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li> In the Name column, locate the MsTi entry.</li> In the InboundAssemblyPath column for the MsTi entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsTi.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li> In the OutboundAssemblyPath column for the MsTi entry, verify that it has the following value:

C:\Program Files\Microsoft BizTalk Adapters for Host Systems\system\Microsoft.HostIntegration.Adapters.MsTi.Runtime.dll

Note Make sure that the file exists in the specified path. If the file does not exist in the specified path, type the path where the file is located.</li></ol> </li></ol>

After you complete these steps, you should be able to run the BizTalk Server 2006 project.

Keywords: kbtshoot kbprb KB935231

-

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

© Microsoft Corporation. All rights reserved.