使用 System.Data.OracleClient 设置 IIS

发布于 2024-08-23 23:56:26 字数 312 浏览 19 评论 0原文

我有一个连接到 Oracle 10.2g 数据库的 asp.net Web 应用程序。如果我在 Visual Studio 2008 Web 服务器中运行我的网站,则一切正常,但是当在 IIS 中发布网站时,会出现“System.Data.OracleClient 需要 Oracle 客户端软件版本 8.1.7 或更高版本”。

我添加了 ASPNET、经过身份验证的用户甚至所有人的所有权限,但仍然不起作用。

我不知道还能尝试什么。在我看来,这是一个 IIS 问题,因为该网站在 VS2008 集成网络服务器中运行良好。我使用的是 IIS 5.1。

提前致谢!

I have a asp.net web application that connects to a Oracle 10.2g database. If I'm running my site in the Visual Studio 2008 webserver everithing is ok, but when a publish it in IIS a get "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater".

I added all the permissions for the ASPNET, Authenticated Users and even Everyone but still doesn't work.

I have no idea what else to try. It seems clear to me that this is an IIS issue as the site works well in VS2008 integrated webserver. I'm using IIS 5.1.

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神魇的王 2024-08-30 23:56:26

您必须在服务器上安装 Oracle 客户端。 DLL 本身是不够的。

您的数据库管理员应该可以安装客户端。如果没有,可以从 otn.oracle.com 获取

You have to install the Oracle client on your server. The DLL by itself is not enough.

Your database administrator should have the client install available. If not, it's available from otn.oracle.com

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文