开发者

Cannot connect to L-VAIO\sqlexpress

开发者 https://www.devze.com 2023-02-16 17:37 出处:网络
I installed SQL Server 2008 R2 the other day to work with Visual Studio 2010 pro. I was able to use SQL Server fine until this morning. I loaded up SQL Server Management Studio and I get the followin

I installed SQL Server 2008 R2 the other day to work with Visual Studio 2010 pro.

I was able to use SQL Server fine until this morning. I loaded up SQL Server Management Studio and I get the following error:

Cannot connect to L-VAIO\sqlexpress

A network-rela开发者_JAVA技巧ted 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: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)

If I also load up Visual Studio 2010 I also cannot now get into my database.

Any ideas how to fix this?


It seems like it can't find the server, check the service for SQL Server is running. Sometimes I find that it doesn't start properly.

Press the start button and type Services. Scroll down and look for the SQL Server instance service, should be something like: SQL Server (Instance).

@philjones88

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号