Vista 和 Windows 中的 OLEDB JET 错误Windows 7,不在 XP 中

发布于 2024-09-10 12:31:34 字数 216 浏览 0 评论 0原文

我在Windows XP上用VS2008编写了一个应用程序,并生成了一个.EXE文件。

该应用程序只能在 Windows XP 操作系统上运行。它在 Vista 和 Windows 7 上失败。

它给出错误,指出发生了 Microsoft OLEDB JET 4.0。

我在此应用程序中使用 Microsoft Access 作为数据库。

我应该怎么办?

I wrote an application with VS2008 on Windows XP, and produced an .EXE file.

This application will only run on Windows XP OS. It fails on Vista and Windows 7.

It gives an error saying that a Microsoft OLEDB JET 4.0 occurred.

I use Microsoft Access as a db in this app.

What should I do?

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

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

发布评论

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

评论(2

小傻瓜 2024-09-17 12:31:34

如果您的应用程序是为“任何 CPU”构建的,并且您在 Windows 7 和 Vista 的 x64 变体下运行,则尝试将构建配置设置为 x86(即 32 位变体)。据我所知,没有适用于 Access 的 x64 驱动程序。

祝你好运

If your application is built for "any CPU" and you're running under x64 variants of Windows 7 and Vista, then try setting your build configuration to x86 (i.e. The 32 bit variant). There aren't x64 drivers for Access as far as I'm aware.

Good luck

泅人 2024-09-17 12:31:34

Access 数据库在哪里:在 Program Files 中吗?在这种情况下,您可能遭受虚拟化 - 在 Windows Vista 和 7 上,操作系统不允许您写入 Program Files,因此它会默默地将您重定向到另一个目录。

Where is the access database: is it in Program Files? In which case you might be suffering from virtualization - on Windows Vista and 7 the operating system won't allow you to write to Program Files, so it silently redirects you to another directory.

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