【发布时间】:2012-05-23 08:44:48
【问题描述】:
我正在使用 SalesLogix 连接提供程序,它是一个 32 位驱动程序。 当我尝试打开连接时,会引发以下异常
System.Data.OleDb.OleDbException (0x80004005):没有可用的错误消息,结果代码:E_FAIL(0x80004005)
我在应用程序(网络和桌面)中都使用以下连接字符串
Provider=SLXOLEDB.1;Data Source=TestServer;Initial Catalog=SLXTestApp;User Id=Alex;Password=alex124;Persist Security Info=True;Extended Properties=Port=1706;Log=Off"
当我在桌面应用程序 (C#) 中使用具有相同连接字符串的相同代码时。 它成功打开连接并且还没有错误地获取数据。 但是在 asp.net 4.0 的情况下给了我错误。
以下是我的应用程序的配置/设置
两个应用程序中的 1-Platform 目标相同,即 x86。
2-我在 64 位操作系统的 webserver 2008 R2 上使用 IIS(7.5.7600.16385)。
3-在应用程序池中启用32位应用程序是真的。
4-托管管道模式 = 集成
5-Aspnet 4.0(C#)
【问题讨论】:
标签: asp.net iis database-connection oledb saleslogix