BizTalk : Runtime assembly loading issue , Could not load
file or assembly
If you require a specific version of assembly to be loaded at runtime when your BizTalk
application run. This requirement could be implemented by adding a required
assembly setting in BTSNTSvc.exe.config.
In biztalk config file you need to specify the old and new version of assembly
that need to be loaded at runtime.
Following setting could be added in your BTSNTSvc.exe.config file with proper
assembly details.
Using this Binding Policy in config, we can load the any
required assembly at runtime..
<runtime>
<assemblyBinding
xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="BTSales.DataAccess"
publicKeyToken="89b653f429c47342" culture="neutral" />
<bindingRedirect
oldVersion="2.111.7.0" newVersion="4.112.1.2"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
After implementing the above changes in BtsntSvc.exe.config file, if you are still getting this error while using BTAdmin console then update the BTSMMCLauncher.exe.config file same as above. This will resolve your design time assembly loading issue.
Added following thing in BTSMMCLauncher.exe.config , Reopen your BTS Admin console.
</runtime>
After implementing the above changes in BtsntSvc.exe.config file, if you are still getting this error while using BTAdmin console then update the BTSMMCLauncher.exe.config file same as above. This will resolve your design time assembly loading issue.
Added following thing in BTSMMCLauncher.exe.config , Reopen your BTS Admin console.
<runtime>
<assemblyBinding
xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="BTSales.DataAccess"
publicKeyToken="89b653f429c47342" culture="neutral" />
<bindingRedirect
oldVersion="2.111.7.0" newVersion="4.112.1.2"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Comments
Post a Comment