.net OLEDB调试
我正在使用ASP.NET 2.0应用程序(在Windows Server 2003环境中运行)连接到使用IBM客户端提供程序的informix db 该应用程序运行良好,速度相当快,但我遇到了如下随机oledb连接错误: 没有可用的错误消息,结果代码:-2147417851(0x80010105) 堆栈跟踪:在 system.data.oledb.oledbconnectioninternal..ctor(oledbconnectionstring 施工,OLEDB连接)在 system.data.oledb.oledbconnectionfactory.createconnection(dbconnectionoptions 选项、对象池组ProviderInfo、数据库连接池池、, dbconnection owningobject)位于 system.data.providerbase.dbconnectionfactory.createnonpooledconnection(dbconnection owningconnection,dbconnectionpoolgroup(池组)位于 system.data.providerbase.dbconnectionfactory.getconnection(dbconnection 拥有连接)位于 system.data.providerbase.dbconnectionclosed.openconnection(dbconnection outerconnection,dbconnectionfactory连接工厂)位于 system.data.oledb.oledbconnection.open()位于 中的hltlib.oledbdatabase.initcommand() c:\hltdesktop\hltdesktop.legacy\oledbdatabase.cs:第62行 使此错误消失的唯一方法是重置IIS.net OLEDB调试,.net,debugging,oledb,.net,Debugging,Oledb,我正在使用ASP.NET 2.0应用程序(在Windows Server 2003环境中运行)连接到使用IBM客户端提供程序的informix db 该应用程序运行良好,速度相当快,但我遇到了如下随机oledb连接错误: 没有可用的错误消息,结果代码:-2147417851(0x80010105) 堆栈跟踪:在 system.data.oledb.oledbconnectioninternal..ctor(oledbconnectionstring 施工,OLEDB连接)在 system.dat
从来没有人有过这个问题吗?我是否可以启用windows oledb调试器和/或跟踪程序来解决此问题?我想这可能是由提供程序中的oledb连接池/其实现引起的。尝试禁用注册表中的OLEDB服务,以防止提供程序的连接池。有关如何执行此操作,请参阅MS文档。HTH我想这可能是由OLEDB连接池/其在提供程序中的实现引起的。尝试禁用注册表中的OLEDB服务,以防止提供程序的连接池。有关如何执行此操作,请参阅MS文档。HTH因为我们对您的系统架构和应用程序的功能不太了解。问题的真正原因尚不清楚
我认为您必须将整个代码转换为使用ODBC.NET数据提供程序。从那时起,再也没有错误了 因为我们不太了解您的系统架构和应用程序的功能。问题的真正原因尚不清楚 我认为您必须将整个代码转换为使用ODBC.NET数据提供程序。从那时起,再也没有错误了