Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net 64位ODBC异常_Vb.net_Sql Server 2005_Odbc_Driver_Windows 7 X64 - Fatal编程技术网

Vb.net 64位ODBC异常

Vb.net 64位ODBC异常,vb.net,sql-server-2005,odbc,driver,windows-7-x64,Vb.net,Sql Server 2005,Odbc,Driver,Windows 7 X64,当我将开发平台从Windows XP X86移动到Windows 7 X64时,我遇到以下ODBC异常: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application 我确信这意味着它所连接的服务器是32位的,我运行的计算机是64位的,使用的ODBC驱动程序是64位的 我正在编写的应用程序设

当我将开发平台从Windows XP X86移动到Windows 7 X64时,我遇到以下ODBC异常:

ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
我确信这意味着它所连接的服务器是32位的,我运行的计算机是64位的,使用的ODBC驱动程序是64位的

我正在编写的应用程序设置为以32位模式运行,因为我们使用的某些第三方软件与64位不兼容

我尝试下载一个32位驱动程序并更改DSN,但没有解决我的问题。我还是有例外

如果有人有32位SQL驱动程序的链接,或者有任何关于我如何通过改变项目来解决这个问题的想法,我洗耳恭听

提前感谢,


-Jrud-

使用64位ODBC管理员设置32位DSN听起来更像是:

请尝试改用此ODBC管理员:


c:\windows\sysWOW64\odbcad32.exe

如果从“开始->搜索程序”框中键入ODBC,它只列出32位ODBC管理员,而不列出64位控制台。Microsoft从搜索中隐藏64位管理员。

这正是问题所在。非常感谢。现在通过控制面板查看,如果不通过该目录路径,我无法找到进入32位管理员的方法。。。为什么微软要隐藏32位管理员?其他人不想让你知道这件事。这又一次拯救了我的一天:-)谢谢你的回答!仍然有用有人投票结束了我的主题我可以问一下为什么吗?我很高兴它没有结束:)今天很有用。不,这是错误的方法。它们显示64位ODBC管理员,隐藏32位。