数据库应用程序设置项数据库不可访问.. [英] Database application setup project. The database is not accesible..

查看:140
本文介绍了数据库应用程序设置项数据库不可访问..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们。

祝大家新年快乐!! !!



我面临着一些问题数据库应用程序。

因为我在vs2008和sqlserver 2008中创建了一个数据库应用程序。

我还为我的应用程序创建了设置。根据我的数据库配置,应用程序在我已开发应用程序的PC上运行正常。根据配置,数据库文件夹位于D:\ data。

安装应用程序后,在我的电脑上工作正常..但在其他系统上它显示错误..注意用户例如,登录失败等。



请帮我解决数据库配置以解决错误。





谢谢。

Kundan

Dear friends.
Happy new year to all..!!

i''m facing some problem in my one of database application.
As i have created one database application in vs2008 and sqlserver 2008.
I''ve also created the setup for my application. According to my database configuration the app is working fine on my PC on which I''ve developed the application. As per the configuration the database folder is in "D:\data".
On my PC after installing the application it is working fine.. but on other system it is showing error..regarding user instance, login failed etc.

please help me regarding database config to resolve the error.


Thanks.
Kundan

推荐答案

浏览这些连接字符串集 - http://connectionstrings.com/sql-server-2008 [ ^ ]。他们应该让你对你可能做错的事情有个充分的了解。
Go through these set of connection strings - http://connectionstrings.com/sql-server-2008[^]. They should give you a fair idea of what you could be doing wrong.


你好,



首先我建议你使用SQL Server实例连接数据库而不是使用数据库文件。



然后你可以设置你的连接字符串。



安装SQL服务器,数据库和应用程序后,它应该可以正常工作。



如果您正在做同样的事情,请告诉我。请提供你的连接字符串。



祝你好运。
Hi,

First of all i suggest you to use SQL server instance to connect with the database instead of using database file.

Then you can set your connection string.

After installation of SQL server, Your database and your application, it should work fine.

Let me know if you are doing the same thing. please provide your connectionstring.

Best luck.


这篇关于数据库应用程序设置项数据库不可访问..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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