Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » 部署 SQL Anywhere » 部署数据库和应用程序 » 部署数据库服务器

 

在 Windows 上注册 DLL

部署 SQL Anywhere 时,为使 SQL Anywhere 正常工作,有一些 DLL 文件必须进行注册。注意,对于 Windows Vista 或更高版本的 Windows,必须包含 SQL Anywhere 已提升的操作代理 (dbelevate11.exe) 以支持注册或注销 DLL 时所需的权限提升。

注册这些 DLL 的方法有许多,其中包括在安装脚本中进行注册或使用 Windows 上的 regsvr32 实用程序或 Windows Mobile 上的 regsvrce 实用程序进行注册。还可在批处理文件中包括一个命令(例如以下过程中的命令)。

♦  注册 DLL
  1. 打开命令提示符。

  2. 转到安装 DLL 提供程序的目录。

  3. 输入以下命令以注册提供程序(在此例中,注册 OLE DB 提供程序):

    regsvr32 dboledb11.dll

下表列出了部署 SQL Anywhere 时必须注册的 DLL:

文件 说明
dbctrs11.dll SQL Anywhere 性能监控器计数器。
dbmlsynccom.dll Dbmlsync 集成组件(非可视化组件)。
dbmlsynccomg.dll Dbmlsync 集成组件(可视化组件)。
dbodbc11.dll SQL Anywhere ODBC 驱动程序。
dboledb11.dll SQL Anywhere OLE DB 提供程序。
dboledba11.dll SQL Anywhere OLE DB 提供程序模式辅助模块。
Windows\system32\msxml4.dll Microsoft XML 分析程序。