SQL Server连接错误 [英] SQL Server Connection Error

查看:97
本文介绍了SQL Server连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道很多帖子都有类似的问题,但不是。\.SQLEXPRESS我得到。\ MSSQLSERVER作为问题并且构建失败。

I know there are alot of post with a similar problem to mine, however instead of .\SQLEXPRESS i get .\MSSQLSERVER as the problem and build fails.

错误  1 建立与SQL Server实例'。\ MSSQLSERVER'的连接时发生错误。

建立与SQL Server的连接时发生网络相关或特定于实例的错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:
SQL网络接口,错误:25 - 连接字符串无效)  C:\Program Files \ MSBuild\Microsoft\VisualStudio \LightSwitch \v1.0 \ Microsoft。 LightSwitch.targets  157  10 我的第一个应用程序

Error 1 An error occurred while establishing a connection to SQL Server instance '.\MSSQLSERVER'.
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 allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid) C:\Program Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v1.0\Microsoft.LightSwitch.targets 157 10 My First Application

任何人都可以建议如何更改默认数据库服务器名称的设置

Can anyone please advise how to change settings for the default database server name

我是一个新手所以任何帮助将不胜感激

I am a Newbie so any help would be appreciated

推荐答案

马里奥,感谢您对LightSwitch的兴趣。请通过以下讨论您遇到的相同问题的主题:

http://social.msdn.microsoft.com/Forums/en/lightswitchgeneral/thread/234a89fe-f76a-4035-ba8c-d130b5f3c229
Mario, thanks for you interest in LightSwitch. Please go through the following thread that discussed the same issue you are facing: http://social.msdn.microsoft.com/Forums/en/lightswitchgeneral/thread/234a89fe-f76a-4035-ba8c-d130b5f3c229


这篇关于SQL Server连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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