Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to connect to SQL Server 2008 and I get the following message:

Cannot connect to .\SqlExpress.

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476

I tried to use:

./SQLEXPRESS
(local)\SQLEXPRESS
Jimmy-HP\SQLEXPRESS

I got the same errors.

share|improve this question
add comment

2 Answers 2

I usually use localhost/SQLEXPRESS, however I doubt that is your problem.

Ok, in the SQLSERVER configuration tools, make sure the SQLBrowser and SQLSERVER services are running.

share|improve this answer
    
it says "there are no items to view" =[ –  suffix Sep 28 '11 at 19:01
1  
@suffix So you go to Sql Server Configuration Manager->Sql Server Services and it says "there are no items to view?" If that is the case, then that is your problem. You do not have SQLServer installed properly. –  Jonathan Henson Sep 28 '11 at 19:39
add comment

By default, newly installed instances of SQL Server are configured to only accept "shared-memory" connections. You'll need to use the SQL Server Configuration Manager to enable network connectivity.

Here's more info on MSDN... http://msdn.microsoft.com/en-us/library/ms174212.aspx

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.