Hi, I'm new to MS SQL Server, and I can't find the way to connect to a remote SQL Server 2k db using SQL Server Management Studio Express, or its older equivalent Enterprise Manager. Please advise.
Note, I am able to connect to it in VB with the following code:
The error I get from SQL Server Management Studio Express is
Cannot connect to dbserver.domain.com
Additional information:
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) (Microsoft SQL Server, Error: 53)
Lastly, the info I'm providing to SQL Server Management Studio Express is Server name: dbserver.domain.com, Authentication: SQL Server Authentication, Login:user, Password:pass. It doesn't seem to ask for the database name anywhere, which may be the problem...
Thanks in advance.
Note, I am able to connect to it in VB with the following code:
Code:
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "Provider=sqloledb;Data Source=[b]dbserver.domain.com[/b];Initial Catalog=[b]db_name[/b];User Id=[b]user[/b];Password=[b]pass[/b];"
The error I get from SQL Server Management Studio Express is
Cannot connect to dbserver.domain.com
Additional information:
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) (Microsoft SQL Server, Error: 53)
Lastly, the info I'm providing to SQL Server Management Studio Express is Server name: dbserver.domain.com, Authentication: SQL Server Authentication, Login:user, Password:pass. It doesn't seem to ask for the database name anywhere, which may be the problem...
Thanks in advance.