与其他用户共享时,SQL Server上的MS Access DSN错误 [英] MS Access DSN error on SQL Server when shared with other users

查看:88
本文介绍了与其他用户共享时,SQL Server上的MS Access DSN错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,

Hello Experts,

我正在创建一个简单的访问工具,让用户阅读并更新数据集。此信息的来源位于sa SQL Server表上。因此,我希望将SQL Server表连接为MS Access的链接连接,并在
顶部构建一个表单,供用户更新信息。

I am working on create a simple tool on access to let users read and make updates to a dataset. The source of this information is on sa SQL server table. Hence I would like to connect SQL server table as linked connection to MS Access and build a form on top of it for users to update the information.

我能够在32位系统ODBC数据源中创建DSN连接,并获取链接到MS Access DB的表。我已经创建了所需的各种表格并保存了数据库。我能够进行必要的更改。

I was able to create a DSN connection in the system ODBC data sources 32-bit and get the table linked to the MS Access DB. I have crated various forms required and saved the DB. I was able to make the ncessary changes.

当我将此文件发送给用户进行操作和更新时,他们会收到错误信息"运行时错误'3151':ODBC - 与"我的数据源"的连接失败。我假设这可能是因为我的系统上有DSN。

When I send this file to users to opena nd mkae updates they are getting an error that says "Run-time error '3151': ODBC - connection to 'My datasource' failed. I am assuming this could be because I have the DSN on my system.

有没有办法将它与数据库捆绑在一起,这样用户就不会收到此错误。你能否告诉我是否有更好的解决方案,使用MS访问作为前端,SQL作为后端数据库。

Is there a way to bundle it along with the database so that users do not get this error. Can you please advise if there is a better solution for this using MS access as a front end and SQL as a backend database.

谢谢求助。

最好的问候,

Natty

推荐答案

嗨Natty,

Hi Natty,

我认为不是DSN,而是用户需要安装ODBC客户端机器。

I think not so much the DSN but more like the users need to have the ODBC client installed on their machine.

您知道他们的机器上是否安装了客户端吗?

Do you know if they have the client installed on their machines?


这篇关于与其他用户共享时,SQL Server上的MS Access DSN错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆