Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sawsan
Starting Member
2 Posts |
Posted - 2008-11-06 : 16:15:41
|
| helloI am new to .netI installed visual studio 2008 and sql server2005first I create a new project then from server explorer I tried to create new database..enterd server name =localand databse name=namebut this messager error appeared:Microsoft Visual Studio---------------------------An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)what should I do?Thanks in advance. |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sawsan
Starting Member
2 Posts |
Posted - 2008-11-11 : 11:34:45
|
| Thank youthe problem was fixed by the following steps: from my computer(right click)-manage-services-ms sql services-(right click)-properties-login tab-make this on local computer..thanks |
 |
|
|
malaytech2008
Yak Posting Veteran
95 Posts |
Posted - 2008-11-12 : 01:19:25
|
| Also check your remote connection is enabled or not.malay |
 |
|
|
|
|
|