当我在另一台计算机上运行项目的安装文件时,我的连接字符串是什么 [英] what wiil be my connection string when I am running my project's setup file on anu other computer

查看:60
本文介绍了当我在另一台计算机上运行项目的安装文件时,我的连接字符串是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中@Provider = Microsoft.ACE.OLEDB.12.0; Data Source = D:\ MS Access \ School.accdb; Persist Security Info = False;

我有这个连接字符串及其工作正常。

但是当我进行项目设置时,它会在其他系统上显示错误Microsoft.ACE.OLEDB.12.0提供程序未在本地计算机上注册。 br />
我正在使用Visual Studio 2008和MS Access 2010.

任何人都可以帮我把它弄出来



我还安装了Access数据库引擎,但它不工作



我会做什么建议

In my project @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\MS Access\school.accdb;Persist Security Info=False;"
I have this connection string and its working fine.
But when I am making the setup of my project it shows error "Microsoft.ACE.OLEDB.12.0 provider is not registered on local machine" on other system.
I am using Visual Studio 2008 and MS Access 2010.
Can any one help me to get me out of it

I have also installed Access Data Base engine but its not working

What will I do any suggestions

推荐答案

您已指定自己系统的数据库路径。



您需要在服务器上安装数据库,以便其他计算机可以使用适当的凭据从那里访问它。



-KR
You have specified the db path of your own system.

You need to have the db on the server, so other machine can access it from there using appropriate credentials.

-KR


这篇关于当我在另一台计算机上运行项目的安装文件时,我的连接字符串是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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