Wahab Abid
Wahab Abid

Reputation: 1

SQL Server Mgmt Studio 2014 ; Error 40

I just installed MS SQL SERVER MANAGEMENT STUDIO 2014 , but when I open it I have to add a server name to connect it but it is showing me following error when I enter server name.

TITLE: Connect to Server

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) The system cannot find the file specified

I don't know what to do now, help me out please. Thanks Error

Upvotes: 0

Views: 270

Answers (2)

Didier Aupest
Didier Aupest

Reputation: 3377

You need to provide an instance name.

Instance Name has been provided during the installation process of SQL Server.

Inside the Server name combobox, you should type something like : .\SQLEXPRESS or .\MSSQLEXPRESS depending on your version of SQLServer.

The .\ refer to your local machine.

Upvotes: 1

Just Rudy
Just Rudy

Reputation: 700

Here's mine, if it helps. See if you should have more to it, like SQLEXPRESSPC in my case.

My Screenshot

Upvotes: 1

Related Questions