未找到数据源名称且未指定默认驱动程序。用于 ODBC 驱动程序的 Microsoft OLE DB 提供程序

发布于 2024-09-19 11:19:42 字数 374 浏览 14 评论 0原文

我不是 Windows 管理员,所以我不知道我做错了什么。

我有这个脚本来获取 vmware esxi3.5 报告,

http://paste.ubuntu.com/493213/

但出现以下错误:

C:\Documents and Settings\admmarc\Desktop\test\vcreport。 ODBC 驱动程序的数据库提供程序:[Microsoft][ODBC 驱动程序 未找到且未指定默认驱动程序

:\Documents and Settings\admmarc\Desktop\test>

有人看到我做错了什么吗?

非常感谢。

马克

i'm not a windows administrator, so I do not know what I'm doing wrong.

I have this script to get vmware esxi3.5 reports,

http://paste.ubuntu.com/493213/

I get this error:

C:\Documents and Settings\admmarc\Desktop\test\vcreport.
DB Provider for ODBC Drivers: [Microsoft][ODBC Driver
not found and no default driver specified

:\Documents and Settings\admmarc\Desktop\test>

Does anyone see what am I doing wrong?

Many thanks .

Marc

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

如何视而不见 2024-09-26 11:19:42

http://support.microsoft.com/kb/306345 中,给出的原因包括

  • :用于处理 ASP 页请求的 Microsoft Windows NT 4.0 或 Windows 2000 用户帐户没有足够的权限来读取存储指定 DSN 配置信息的注册表项。
  • ADO 连接字符串中指定的系统 ODBC DSN [在 IIS 服务器上]不存在。

脚本中的 DSN 是:

DSN=FBMVMC01\SQLEXP_VIM;UID=FBM\admmarc;PWD=password" 

看起来有点可疑,请参阅 http://www.connectionstrings.com/dsn

In http://support.microsoft.com/kb/306345, reasons given include:

  • The Microsoft Windows NT 4.0 or Windows 2000 user account that is used to process the request for the ASP page does not have sufficient permissions to read the registry key that stores the specified DSN's configuration information.
  • The System ODBC DSN that is specified in the ADO connection string does not exist [on the IIS server].

Your DSN from the script is:

DSN=FBMVMC01\SQLEXP_VIM;UID=FBM\admmarc;PWD=password" 

Which looks mildly suspicious, see http://www.connectionstrings.com/dsn

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文