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 |
|
mierdatuti
Starting Member
4 Posts |
Posted - 2008-11-24 : 16:30:02
|
| Hi,I have installed a database microsoft sql server 2005 on my server. I would like to connect from ms-dos (locally) on my server but it says me:C:\Documents and Settings\Administrador>osql -U emuser -P temporal[SQL Native Client]Named Pipes Provider: Could not open a connection to SQLServer [2].[SQL Native Client]Login timeout expired[SQL Native Client]An error has occurred while establishing a connection tothe server. When connecting to SQL Server 2005, this failure may be caused bythe fact that under the default settings SQL Server does not allow remoteconnections Any help?Many thanks and sorry for my english! |
|
|
pbguy
Constraint Violating Yak Guru
319 Posts |
Posted - 2008-11-24 : 22:55:19
|
| 1. Go to Confguration manager (start -> Programs - MS SQl server 2005 ->Configuration Tools -> SQL server Configuration Manager)2.For SQL server Network and Clien Configuration , enable the NamedPipes protocol.--------------------------------------------------S.Ahamed |
 |
|
|
mierdatuti
Starting Member
4 Posts |
Posted - 2008-11-25 : 00:50:03
|
| I change to enabled the namedpipes but it doen't works!Any Help?Thanks |
 |
|
|
pbguy
Constraint Violating Yak Guru
319 Posts |
Posted - 2008-11-25 : 01:34:37
|
| Try enabling TCP/IP protocol...here it works for me...--------------------------------------------------S.Ahamed |
 |
|
|
mierdatuti
Starting Member
4 Posts |
Posted - 2008-11-25 : 11:16:34
|
| Hi,I have enabled also the TCP/IP but doesn't works!Any help? |
 |
|
|
mierdatuti
Starting Member
4 Posts |
Posted - 2008-11-26 : 09:27:24
|
Please any help? Thanks |
 |
|
|
kuromuro
Starting Member
1 Post |
Posted - 2008-11-27 : 07:10:50
|
quote: Originally posted by mierdatuti Please any help? Thanks
Start -> Run -> Cliconfg.exe (... not Cliconfig ...)General (tab) -> Enabled protocols by order Named Pipes TCP/IP(Apply) |
 |
|
|
|
|
|