如何将vb.net应用程序与另一台PC上的相应sql数据库连接 [英] how to connect vb.net application with the respective sql database on another pc
问题描述
我在Visual Studio 2010中使用sql server 2008 r2中的基础开发应用程序。在PC上,我正在开发正常运行,但我在另一台机器上尝试过,我没有连接到数据库。
已经改变了连接字符串
数据来源=(本地);初始目录=数据库; Integrated Security = True //仍然无法连接。帮助我
因为我能解决它吗?
是visual studio或sql server中的一个问题。
在没有任何问题的情况下在PC上安装我的应用程序需要采取哪些步骤。
请帮助我。谢谢
I developing a application in visual studio 2010 with a base in sql server 2008 r2. on PC where I am developing functioning properly but I tried it on another machine and I did not connect to the database.
already changed the connection string
Data Source = (local); Initial Catalog = "database"; Integrated Security = True // and still can not connect. help me
as I can fix it?
is a problem in visual studio or sql server.
what steps to take to install my application on pc without any problems.
help me please. thank you
推荐答案
之前我回答过类似的问题。看看它,也许它可以帮到你。
ASP.NET Web App的localhost上的IIS错误 [ ^ ]
I have answered a similar question before. Check it out, maybe it can help you.
IIS Error on localhost for ASP.NET Web App[^]
这篇关于如何将vb.net应用程序与另一台PC上的相应sql数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!