错误:[Microsoft] [ODBC驱动程序管理器]数据源名称未找到和指定默认驱动程序驱动程序、数据源、管理器、未找到

由网友(是谁卑微了承诺)分享简介:在.NET连接到Sybase服务器我得到这个错误信息:While connecting .net to sybase server I got this error message:[微软] [ODBC驱动程序管理器]数据源名称找不到和未指定默认驱动程序[Microsoft][ODBC Driver Manager]...

在.NET连接到Sybase服务器我得到这个错误信息:

While connecting .net to sybase server I got this error message:

[微软] [ODBC驱动程序管理器]数据源名称找不到和未指定默认驱动程序

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

此之前已经工作正常。系统DSN具有相同的细节工作,并通过vs.net数据连接也正常工作。

This has worked properly before. System DSN with same details work and data connection through vs.net also work.

我使用vs.net 2005

I am using vs.net 2005.

有什么建议?

推荐答案

如果你正在使用的X64服务器,请记住,有用于x86和x64应用程序不同的ODBC设置。管理工具列表中的数据源(ODBC)工具,把你带到x64版本。要查看/编辑86 ODBC设置,您需要手动运行该版本的工具:

If you're working with an x64 server, keep in mind that there are different ODBC settings for x86 and x64 applications. The "Data Sources (ODBC)" tool in the Administrative Tools list takes you to the x64 version. To view/edit the x86 ODBC settings, you'll need to run that version of the tool manually:

%windir%SysWOW64odbcad32.exe (%windir% is usually C:Windows)

当你的应用程序运行的操作系统,我们会使用64位数据源,而当它作为x86的运行时,它会使用这些数据源来代替。

When your app runs as x64, it will use the x64 data sources, and when it runs as x86, it will use those data sources instead.

阅读全文

相关推荐

最新文章