在另一个Pc中运行程序的问题 [英] problem with run program in another Pc

查看:65
本文介绍了在另一个Pc中运行程序的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


i有一个用c#和sql server express 2008 r2制作的程序,我想在另一台PC上运行它,我在那台电脑上安装了sql server express 2008 r2但是它给了我一个错误而且没有打开程序,我该怎么办?

这里是错误的图片

http://upload7.ir/imgs/2014-10/84737973425151597995.jpg [ ^ ]

尊重太空人

解决方案

读取它:如何在SQL Server 2008中启用远程连接? [ ^ ]或如何:设置远程服务器访问(SQL Server Management Studio) [ ^ ]

如果没用,< a href =http://msdn.microsoft.com/en-us/library/cc646023.aspx>将Windows防火墙配置为允许SQL Server访问 [ ^ ]


首先检查计算机之间的连接;并更改连接字符串。

在连接字符串中,servername被定义为安装SQL Server的机器的ip。


连接字符串相关问题发生此错误。



首先检查你的连接字符串,也许需要为特定的电脑更改它..

如果不解决那么看到这个..

见此..

http://stackoverflow.com/questions/18060667/connect-to-server-a-network-related-or-instance-specific-error [ ^ ]

Hi i have a program made with c# and sql server express 2008 r2 and i want to run it in another PC and i installed sql server express 2008 r2 in that pc but it give me an error and don't open the program, what should i do?
here is the picture of error
http://upload7.ir/imgs/2014-10/84737973425151597995.jpg[^]
With Respect "Spaceman"

解决方案

Read it: How to enable remote connections in SQL Server 2008?[^] or How to: Set Remote Server Access (SQL Server Management Studio)[^]
If it won't help, configure the Windows Firewall to Allow SQL Server Access[^]


First check the connectivity between the computers; and changes the connection string.
In connection string servername is defined as the ip of the machine on which the SQL Server is installed.


This error occur for the connection string related issue..

check your connection string first, maybe need to change it for the particular pc..
if not solve then see this..
See This..
http://stackoverflow.com/questions/18060667/connect-to-server-a-network-related-or-instance-specific-error[^]


这篇关于在另一个Pc中运行程序的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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