且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

建立连接时发生与网络相关或特定于实例的错误

更新时间:2023-02-03 07:54:08

TITLE: Connect to Server
------------------------------

Cannot connect to admin-PC or server.

------------------------------
ADDITIONAL INFORMATION:

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------
SOLUTION :-

1.click on Start button.

2.Search on Search Bar.

3.Type Services.And Click on that

4.And go to Sql Server(MSSQLSERVER).

5.Right click on it.and Click on Start button.

6.And go back to sql Server Close it and connect it again.