oracle\product\10.2.0\client_2\odp.net\PublisherPolicy\Policy.9.2.Oracle.DataAccess.config
找到newVersion的值写入到
<runtime> <legacyCorruptedStateExceptionsPolicy enabled="true"/> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Oracle.DataAccess" publicKeyToken="89B483F429C47342"/> <bindingRedirect oldVersion="9.2.0.0-9.2.0.9999" newVersion="10.2.0.100"/> </dependentAssembly> </assemblyBinding> </runtime>
这个配置文件即可,另外tsname的地址一般在安装的目录下的:
oracle\product\10.2.0\client_2\NETWORK\ADMIN\tsname.ora这个地方
时间: 2024-10-20 16:31:10