[BTS] BizTalk Oracle Adapter Error 02
--------------------------- WCF-Custom Transport Properties --------------------------- Error saving properties.
(System.ArgumentException) Invalid binding.
(System.IO.FileNotFoundException) Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. 系统找不到指定的文件。
Resolution:
Change BTSNTSrv.exe.config:
1 <?xml version="1.0" ?> 2 <configuration> 3 <startup useLegacyV2RuntimeActivationPolicy="true"> 4 <supportedRuntime version="v4.0" /> 5 </startup> 6 <runtime> 7 <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> 8 <probing privatePath="BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop" /> 9 </assemblyBinding> 10 <dependentAssembly> 11 <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89b483f429c47342" culture="neutral" /> 12 <bindingRedirect oldVersion="2.111.7.00" newVersion="2.111.7.20"/> 13 </dependentAssembly> 14 </runtime> 15 16 <system.runtime.remoting> 17 18 <channelSinkProviders> 19 <serverProviders> 20 <provider id="sspi" type="Microsoft.BizTalk.XLANGs.BTXEngine.SecurityServerChannelSinkProvider,Microsoft.XLANGs.BizTalk.Engine" securityPackage="ntlm" authenticationLevel="packetPrivacy" /> 21 </serverProviders> 22 </channelSinkProviders> 23 24 <application> 25 <channels> 26 <channel ref="tcp" port="0" name=""> 27 <serverProviders> 28 <provider ref="sspi" /> 29 <formatter ref="binary" typeFilterLevel="Full"/> 30 </serverProviders> 31 </channel> 32 </channels> 33 </application> 34 </system.runtime.remoting> 35 36 </configuration>