简体   繁体   English

附加信息:错误[IM002] [Microsoft] [ODBC驱动程序管理器]找不到数据源名称,并且未指定默认驱动程序

[英]Additional information: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I am getting this error anytime I try to open my ODBC connection. 每当我尝试打开ODBC连接时都会出现此错误。

This is my connection string: 这是我的连接字符串:

<add name="ODBCConnection"
     connectionString="Driver={IBM InfoSphere Classic ODBC Driver V10.1};Server=xxx.xxxxxx.COM,6666;Database=DTM;"
     providerName="System.Data.Odbc"/>

I am not using a DSN as I didn't think it was necessary and that the connection string could handle all that. 我没有使用DSN,因为我认为这不是必需的,并且连接字符串可以处理所有这一切。 Can someone tell me what is wrong with that connection string? 有人可以告诉我该连接字符串出了什么问题吗?

Edit: Updated connection string that still isn't working. 编辑:更新的连接字符串仍然无法正常工作。

"IBM InfoSpere Class ODBC Driver V10.1" has to be the exact driver string you will find in the ODBC Administrator. “ IBM InfoSpere类ODBC驱动程序V10.1”必须是在ODBC管理器中可以找到的确切驱动程序字符串。 Note if you are on a 64 bit windows machine there are 2 ODBC Administrators, one for 32 bit and for 64 bit. 请注意,如果您使用的是64位Windows计算机,则有2位ODBC管理员,一个是32位和64位。 See 64-bit ODBC which explains where to find each one. 请参阅64位ODBC ,它说明了在哪里可以找到每个ODBC You need to know whether your application is 32 or 64 bit and match that to the administrator. 您需要知道您的应用程序是32位还是64位,并将其与管理员匹配。

暂无
暂无

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

相关问题 从C#通过ODBC访问Sql Server:错误[IM002] [Microsoft] [ODBC驱动程序管理器]找不到数据源名称,并且未指定默认驱动程序 - Access to Sql Server via ODBC from C# : ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Postgresql odbc驱动程序错误c#[IM002] [Microsoft] [ODBC驱动程序管理器]找不到数据源名称 - Postgresql odbc driver error c# [IM002] [Microsoft][ODBC Driver Manager] Data source name not found 通过C#程序访问MySQL-错误[IM002]找不到数据源名称,并且未指定默认驱动程序 - Accessing MySQL via C# program - ERROR [IM002] Data source name not found and no default driver specified 我的SQL连接错误Microsoft] [ODBC驱动程序管理器]找不到数据源名称,并且未指定默认驱动程序 - My Sql Connection error Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ODBC错误-找不到数据源名称,并且未指定默认驱动程序 - ODBC Error - Data source name not found and no default driver specified 错误找不到数据源名称,并且在ADO.NET中没有使用Odbc指定默认驱动程序 - Error Data source name not found and no default driver specified with Odbc in ADO.NET 未找到数据源名称且未指定默认驱动程序 - Data source name not found and no default driver specified 未找到数据源名称且未指定默认驱动程序 - Data source name not found and no default driver specified ADODB连接-错误:找不到数据源名称,并且未指定默认驱动程序 - ADODB Connection - Error: Data source name not found and no default driver specified “未找到数据源名称且未指定默认驱动程序”错误 - “Data source name not found and no default driver specified” error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM