在服务器上运行程序时出错 [英] error in running program with server

查看:82
本文介绍了在服务器上运行程序时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,
我创建安装文件并将其安装在另一台PC上.
运行该软件时,将显示如下错误:
"与sql服务器建立连接时发生与网络相关或特定于实例的错误.找不到服务器或无法访问该服务器.请验证实例名称正确且sql服务器为"
请帮助.什么问题?

dear friends,
i create setup file and instal it on another PC.
when run the software an error will show like this:
"A network related or instance-specific error occured while establishing to sql server.the server was not found or was not accessible.verify that the instance name is correct and that sql server is "
please help.what is the problem?

推荐答案

请参考以下链接
建立连接时发生与网络相关或与实例有关的错误到SQL Server.找不到服务器或无法访问服务器. [ ^ ]
please refer following link
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.[^]


亲爱的.

您应该检查数据库连接.基本上,当您的数据库(例如SQL Server)未运行或数据库路径错误时,就会出现此错误.
Hi Dear.

you should check you database connection. Basically this error comes when you database like SQL Server is not running or your database path is wrong.




发生以下情况时,

1)您设置的数据库凭据\数据库服务器实例名称\数据库名称不正确.(可能性很高)
2)您的数据库服务器不可访问. (可能性高)
3)您的SQL服务已关闭.(可能性很小)


希望您从此信息中找到解决方案

谢谢
-Amit Gajjar
Hi,

This exception occur when,

1) You have setup incorrect Database Credential\Database server instance name\Database Name.(High possibility)
2) your database server is not accessible. (High Possibility)
3) Your SQL service is down.(Less possibility)


Hope you find solution from this information

Thanks
-Amit Gajjar


这篇关于在服务器上运行程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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