我们有一个连接到 COM 组件的经典 ASP 应用程序。COM 组件从注册表中读取连接字符串并连接到数据源。我们将 COM 包从 2003 盒中导出并导入到 2008 R2 盒中。我们已经检查了每个设置以确保其正确性。当我们点击经典的 ASP 站点时,我们会在事件查看器中看到以下内容:
Error Number: -2147467259
Error Description: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Additional Information: SPROC: sprocnamehere
Record Limit0 (User ID: 0)
我们在机器上创建了 DSN 以确保它可以连接。我们已经设置了IIS 匿名用户。我们已将IIS 设置为在 32 位模式下运行。仍然,同样的错误。还有其他想法吗?看起来 COM 包似乎以 64 位运行。