Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when opening SQLEXPRESS 1

Status
Not open for further replies.

whateveragain

Programmer
Apr 20, 2009
92
US

I just installed Developer SQL 2008 and the sp2 onto a Vista machine. When I open SQL 2008 via the following settings I get the following error. I even disabled the fire wall:
Server type: Database Engine
Server name: MYCOMPUTER-PC\SQLEXPRESS
Authentication: Windows Authentication

Error:
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)

When I open SQL 2008 via the following settings I get NO error:
Server type: Database Engine
Server name: MYCOMPUTER-PC
Authentication: Windows Authentication

I want to connect to SQLEXPRESS. What am I doing wrong?

 
Check to see which protocols are enabled for this SQL Server.
By default only Shared Memory is enabled. Try to enable TCP/IP and Named Pipes.

Borislav Borissov
VFP9 SP2, SQL Server 2000,2005 & 2008.
 
Thanks. That is probably part of the problem, but apparently not all of it as it's still not working. Any other ideas?
 
Check the name of the instance.
Maybe it is not SQLEXPRESS?

Borislav Borissov
VFP9 SP2, SQL Server 2000,2005 & 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top