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.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 SQL Error when trying to connect

Author  Topic 

tommypa
Starting Member

19 Posts

Posted - 2008-03-26 : 12:29:40
Good morning,

I am receiving the following error when trying to connect to sql through Cisco VPN Client.

"An error has occurred while establishing a connection to the server. When connections 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) (Microsoft SQL Server, Error:53)

Can anyone offer any advise?

Thank you,
Tommy

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-03-26 : 12:55:50
Did you enable remote connection in SQL server surface area config and set startup type to automatic for MSSQL. Check also the settings for TCP/IP and named pipes.
Go to Top of Page

tommypa
Starting Member

19 Posts

Posted - 2008-03-26 : 13:05:12
I am unsure where that setting is. Can you direct me a bit better?
Go to Top of Page

tommypa
Starting Member

19 Posts

Posted - 2008-03-26 : 13:13:02
Under connections "allow remote connections" is checked off. But it still doesn't work.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-03-26 : 22:44:35
Ensure your vpn allows sql traffic.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-03-27 : 00:19:01
Try connecting with ServerName,PortNumber. Also try telneting to the server and the port that SQL is listening on. If telnet doesn't work, then you've got a network issue somewhere.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -