![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When trying to connect to my SQL Server Express 2008, I get the following error: Cannot connect to (local) ... How can I fix this error? I remember that, when running setup, I choose 'Network' in stead of 'Local System'. Could this cause the error? How can I change that? Could you please help me to fix this? |
#3
| |||
| |||
|
|
Michel Vanderbeke (michel.vanderbeke (AT) skynet (DOT) be) writes: When trying to connect to my SQL Server Express 2008, I get the following error: Cannot connect to (local) ... How can I fix this error? I remember that, when running setup, I choose 'Network' in stead of 'Local System'. Could this cause the error? How can I change that? Could you please help me to fix this? There are a number of things that can be wrong, but I shot from the hip and say that you should try to specify "(local)\SQLEXPRESS" as the server, since by default SQL Express is installed as a named instance with the name SQLEXPRESS. If that does not cut it, you need to give more details: o What is your connection string? o Is the client program running on the same machine as SQL Server? o Can you connect with SQL Server Management Studio? SQLCMD? |
#4
| |||
| |||
|
|
If that does not cut it, you need to give more details: o What is your connection string? o Is the client program running on the same machine as SQL Server? o Can you connect with SQL Server Management Studio? SQLCMD? It is with SQL Server Management Studio that I can not get a connection! |
#5
| |||
| |||
|
|
Michel Vanderbeke (michel.vanderbeke (AT) skynet (DOT) be) writes: If that does not cut it, you need to give more details: o What is your connection string? o Is the client program running on the same machine as SQL Server? o Can you connect with SQL Server Management Studio? SQLCMD? It is with SQL Server Management Studio that I can not get a connection! So did it help by specifying .\SQLEXPRESS for the instance name? |
![]() |
| Thread Tools | |
| Display Modes | |
| |