如何在Visual Studio 2008中创建安装项目
当我创建安装项目时,我在将sql server 2008 r2添加为安装项目的先决条件时遇到问题,它没有显示在先决条件列表中
IAM尝试不使用sql进行安装,并在最终用户的计算机中安装sql server 2008 r2,但是我遇到了错误
您的应用程序中发生了未处理的异常.
建立与sql服务器的连接时发生与网络相关的或特定于实例的错误.找不到服务器或无法访问该服务器.请验证实例名称正确并且sql server已配置为禁止远程连接.
When I create a setup project i have a problem with add the sql server 2008 r2 as a prerequisite to the setup project it''s not shown in the list of the prerequisite
Iam trying to make setup without sql and install the sql server 2008 r2 in the computer of the end user but i have an error
Unhandled exception has occurred in your application.
A network-related or instance-specific error occurred while establishing a connection to sql server.the server was not found or was not accessible.verify that the instance name is correct and that sql server is configured to alow remote connections.
如果我对您的理解正确,则可以独立于应用程序安装程序安装SQL Server.
如果这是正确的,则您的错误消息定义了在启动程序时SQL Server不可用.可能的原因:
-sql服务器未运行
-工作站防火墙阻止了请求
-您的连接字符串不正确
-您的凭据/用户信息不正确
有关更多原因,请参见 ^ ]
If I understood you correctly, you install the SQL Server separately from the application setup.
If this is correct, your error message defines that the SQL Server is unavailable when you start the program. Some potential reasons:
- the sql server is not running
- workstation firewall is blocking requests
- your connection string isn''t corrrect
- your credentials / user info is incorrect
For more reasons, see http://blog.sqlauthority.com/2009/05/21/sql-server-fix-error-provider-named-pipes-provider-error-40-could-not-open-a-connection-to-sql-server-microsoft-sql-server-error/[^]