简体   繁体   English

Oracle odbc驱动程序未注册IIS

[英]Oracle odbc driver not registered IIS

I know this as been asked many times. 我知道这已经被问过很多次了。 I'm really struggling on this. 我真的很努力。 I have a 32bit app on IIS7, I have the Oracle client installed which is 32bit. 我在IIS7上有一个32位应用程序,我安装了32位Oracle客户端。 I have the PATH set for Oracle home folder. 我为Oracle主文件夹设置了PATH。 I can see that the 32bit dirvers are installed in the wow64 (odbc data sources.exe) folder. 我看到32位驱动程序安装在wow64(odbc数据源。exe)文件夹中。 I can see the IIS app is running in 32bit mode. 我可以看到IIS应用程序以32位模式运行。 Everything is there. 一切都在那里。

I have a test console app that can connect to Oracle but the II7 app just keeps ticking, provider not registered.. Both have the same code the same connection string. 我有一个可以连接到Oracle的测试控制台应用程序,但是II7应用程序一直在滴答作响,提供程序未注册。.两者具有相同的代码和相同的连接字符串。

I have enable the app pool to run 32bit apps. 我已启用应用程序池以运行32位应用程序。 I have run the command aspreg_iis -enable -i 我已经运行命令aspreg_iis -enable -i

I have un-installed and reinstalled the Oracle client tools.. 我已经卸载并重新安装了Oracle客户端工具。

Nothing wants to work.. 什么都不想工作..

Please help. 请帮忙。

Not all versions of ODP seem to work equally. 并非所有版本的ODP似乎都能正常工作。 V 12b seems to work best for 32bit apps on 64bit PCs. V 12b似乎最适合64位PC上的32位应用程序。 I'd remove other versions, install that and make sure that only files for that version are in the GAC and in the path variable. 我将删除其他版本,进行安装并确保只有该版本的文件在GAC和path变量中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM