在 ftp 服务器上运行网站时出错

发布于 2024-12-24 00:49:48 字数 165 浏览 2 评论 0原文

我有一个带有 msaccess 数据库和 c# 的 asp.net 网站。该网站通常在 IIS 服务器上运行,但是当我将其上传到 ftp 服务器时,它会显示以下错误

“'Microsoft.ACE.OLEDB.12.0' 提供程序未注册”在本地机器上。”

我应该怎么做才能解决这个问题

I have a asp.net Website with msaccess database and c# .The Site run on IIS server Normaly but when i upload it to the ftp server then it display the folowing error

"The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine."

What should i do to resolve the issue

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

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

发布评论

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

评论(2

小瓶盖 2024-12-31 00:49:48

默认情况下不安装此驱动程序,我认为您的服务提供商不会专门为您安装它。

您最好使用 mdb 文件而不是 accdb 文件,并使用 Microsoft.Jet.OleDb.4.0 驱动程序。

您可以使用以下教程进一步阅读

AccessDataSource、SqlDataSource 以及连接到 ASP.NET 中的 Access 数据库

This driver is not installed by default and i don't think your service provider is gonna install it specially for you.

You better use mdb files instead of accdb files, and use the Microsoft.Jet.OleDb.4.0 driver instead.

You can use the following tutorial for further reading

AccessDataSource, SqlDataSource and connecting to Access databases in ASP.NET

小鸟爱天空丶 2024-12-31 00:49:48

最简单的方法是要求托管提供商在网络服务器上安装 Microsoft Access 引擎。

http://www.microsoft.com/download/en/details.aspx ?id=13255

我不确定您是否可以使用 webdeploy 来部署它。这将使您可以自己部署和安装它。

The easiest thing to do would be ask the hosting provider to install the Microsoft Access engine on the webserver.

http://www.microsoft.com/download/en/details.aspx?id=13255

I'm not sure if you could deploy it with webdeploy. That would enable that you can deploy and install it yourself.

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