安装程序(.exe)使用sql数据库创建 [英] Setup(.exe) Creation using sql database

查看:145
本文介绍了安装程序(.exe)使用sql数据库创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在visual studio 2017 pro上创建一个设置,

i want to create a setup on visual studio 2017 pro, 

我已经使用高级安装程序进行了尝试但是在安装了我的软件时它会出现与sql相关的错误 

i had try it with advance installer but when installed my software it gives sql related error 

错误是:建立与sql server的连接时发生网络相关或特定于实例的错误,找不到服务器且无法访问。验证实例名称是否正确,并且sql server配置为允许远程连接,

Error is: A network related or instance-specific error occurred while establishing a connection to sql server, The server was not found and not accessible. Verify the instance name is correct and that sql server is configure to allow remote connections, 

推荐答案

您好Anuj4617,

Hi Anuj4617,

根据错误消息,此问题是由安装程序中的Sql server连接引起的。

According to the error message, this issue caused by the Sql server connection in the Setup.

请检查应用程序中的sql连接字符串以确保它是正确。您可以直接使用SQL Server对象资源管理器将sql server与服务器名称,用户名和密码连接起来,以确认登录信息是否正确。

Please check the sql connection string in your application to make sure it is correct. You could connect the sql server with the server name, user name and password with SQL Server Object Explorer directly to confirm the login information are correct.

如果所有登录信息都正确,请检查您的SQL Server,是否可以从远程计算机访问。如果没有,请按照以下指导配置启用远程连接。

If all the login information are correct, please check your SQL Server, whether it could be accessible from a remote machine. If not, please configure it enable remote connection with following guidance.

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/configure-the-remote-access- server-configuration-option

最好的问候,

Weiwei

Best Regards,
Weiwei


这篇关于安装程序(.exe)使用sql数据库创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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