vb.net “Sybase ASE OLE DB 提供程序”提供程序未在本地计算机上注册

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1602193/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 14:28:20  来源:igfitidea点击:

The 'Sybase ASE OLE DB Provider' provider is not registered on the local machine

vb.netoledbsybase-ase

提问by jeevan

I am getting this error when trying to connect to sybase database using oledb connectivity from visual studio.net 2005

尝试使用来自 Visual Studio.net 2005 的 oledb 连接连接到 sybase 数据库时出现此错误

The 'Sybase ASE OLE DB Provider' provider is not registered on the local machine. 

回答by AdamH

For Sybase ASE 12.5 there are at least 2 OLEDB drivers.

对于 Sybase ASE 12.5,至少有 2 个 OLEDB 驱动程序。

Newest:

最新

  • Long Name: Sybase OLEDB Provider(or ASE OLEDB Provider by Sybase)
  • ShortName: ASEOLEDB.1
  • Latest Version: 12.5.1.680 (13 Sep 2008)
  • Default Folder: C:\sybase\DataAccess\OLEDB
  • Config Tool: C:\sybase\DataAccess\bin\sybdrvadm.exe
  • Creates .sod files in C:\sybase\DataAccess\bin for each server config that you create.
  • 长名称:Sybase OLEDB Provider(或ASE OLEDB Provider by Sybase
  • 简短名称: ASEOLEDB.1
  • 最新版本:12.5.1.680(2008 年 9 月 13 日)
  • 默认文件夹:C:\sybase\DataAccess\OLEDB
  • 配置工具:C:\sybase\DataAccess\bin\sybdrvadm.exe
  • 在 C:\sybase\DataAccess\bin 中为您创建的每个服务器配置创建 .sod 文件。

Previous:

上一篇

  • Long Name: Sybase ASE OLE DB Provider
  • ShortName: Sybase.ASEOLEDBProvider.2
  • Latest Version: 02.70.0079 (1 Dec 06)
  • Default Folder: c:\sybase\OLEDB
  • Config Tool: C:\sybase\OLEDB\sydaadm.exe
  • Creates .ids files in this folder for each server config that you create.
  • 完整名称:Sybase ASE OLE DB 提供程序
  • 简短名称Sybase.ASEOLEDBProvider.2
  • 最新版本:02.70.0079(06 年 12 月 1 日)
  • 默认文件夹:c:\sybase\OLEDB
  • 配置工具:C:\sybase\OLEDB\sydaadm.exe
  • 在此文件夹中为您创建的每个服务器配置创建 .ids 文件。

If you can use the newest you should!

如果你可以使用最新的,你应该!

For oledb connections you need to install some stored procedures on the server, for the newer client they're in $SYBASE/DataAccess/OLEDB/sp, run install_oledb_sprocs.bat.

对于 oledb 连接,您需要在服务器上安装一些存储过程,对于较新的客户端,它们位于 $SYBASE/DataAccess/OLEDB/sp 中,运行 install_oledb_sprocs.bat。

If these drivers appear installed and you're still not getting it to work try and run "regsvr32 sydaase.dll" to re-register the driver.

如果这些驱动程序似乎已安装,但您仍然无法使其正常工作,请尝试运行“regsvr32 sydaase.dll”以重新注册驱动程序。

回答by Raj More

Have you checked to see if the driver is installed on the machine?

您是否检查过机器上是否安装了驱动程序?

One way of checking is to try to create a DSN from the machine running ODBCAD32.exeand creating a NEW connection. It shows you the drivers installed.

一种检查方法是尝试从正在运行的机器创建 DSNODBCAD32.exe并创建新连接。它显示您安装的驱动程序。