如何在 SQL Server 2008 上重新安装 MDAC?

发布于 2024-07-09 07:08:56 字数 70 浏览 7 评论 0原文

我在连接到 SQL Server 2008 时遇到问题,并认为这可能是与 MDAC 相关的问题。 有没有下载来重新安装这些?

I am having problems when connecting to my SQL server 2008 and think it might be a problem related to MDAC. Is there a download to re-install these?

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

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

发布评论

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

评论(5

痕至 2024-07-16 07:08:56

MDAC 2.8 SP1

请记住,MDAC 是客户端软件,不应安装在服务器上。

您的问题更有可能是协议或防火墙错误。
您能提供更多信息吗?

MDAC 2.8 SP1

Remember, MDAC is client software that should not be installed on the server.

Your problem is more likely a protocol or firewall error.
Can you give more info please?

掩饰不了的爱 2024-07-16 07:08:56

我同意gbn; 检查您是否允许 SQL Server 上的远程连接,在某些版本中默认情况下禁用它; 使用服务器上的配置管理器来验证 TCP/IP 是否已启用。

I agree with gbn; check that you are allowing remote connections on the SQL server, it is disabled by default in some versions; use the Configuration Manager on the server to verify TCP/IP is enabled.

阪姬 2024-07-16 07:08:56

MDAC 是用于客户端访问的 ODBC 驱动程序。 但您需要它来进行 ASP 和 ASP.Net 数据库连接。

MDAC 2.8 SP1 不会安装在 Windows 2008 Server 中,因为它是为旧版本的 Windows 设计的。

您也许能够启用访问,我认为在 IIS 6.0 下,32 位驱动程序和程序默认情况下是禁用的。 请参阅此 Microsoft 论坛帖子了解更多信息:
http://forums.iis.net/p/1146917/1882658.aspx#1882658

您需要检查 IIS 的应用程序池设置,看看启用 32 位应用程序是否设置为 true,如果设置为 false,请将其更改为 true,然后重新启动 IIS 服务。 MDAC 和 ODBC 驱动程序是 32 位,您需要在应用程序池中启用 32 位应用程序访问,就像在 64 位 Windows 20008 Server RC1/RC2 版本中一样,默认情况下将其设置为 false。

看看是否能解决您的问题。

我什至尝试安装 MS-Office,但仍然无法访问数据库。 直到我在应用程序池中启用了 32 位访问。

The MDAC is an ODBC driver for client access. But you need it for ASP and ASP.Net database connections.

The MDAC 2.8 SP1 does not install in Windows 2008 Server because it was designed for a older version of Windows.

You might be able to enable access, I think that under IIS 6.0 32 bit drivers and programs are disabled by default. See this Microsoft Forum post for more info:
http://forums.iis.net/p/1146917/1882658.aspx#1882658

You need to check your Application Pool settings for IIS and see if the enable 32 bit applications is set to true, if it is set to false change it to true and then restart the IIS service. The MDAC and ODBC drivers are 32 bit and you need to enable 32 bit app access in the application pools as in the 64 bit Windows 20008 Server RC1/RC2 versions it is set to false by default.

See if that solves your problem.

I tried even installing MS-Office, but still no database access. Not until I enabled 32 bit access in the app pool.

谈场末日恋爱 2024-07-16 07:08:56

首先使用 MDAC 检查器,它会告诉您 MDAC 是否有问题:

http://support。微软.com/kb/307255

Use the MDAC checker first, it will tell you if there's a problem with your MDAC:

http://support.microsoft.com/kb/307255

那小子欠揍 2024-07-16 07:08:56

我最近遇到了这个问题,他们在 Server 2008 中将 MDAC 重命名为 WDAC,这确实让您的搜索字符串失效。 要修复 WDAC,您需要运行系统文件检查器“sfc /scannow”

I ran into this recently, they renamed MDAC to WDAC in Server 2008 which really throws your search strings off. To fix WDAC you need to run system file checker "sfc /scannow"

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