I am unable to connect to a SQL instance on the server from a workstation on the same network.
SQL Express SP1 is installed on the server, and allows mixed authentication. The instance name is <SERVERNAME>\SQLEXPRESS.
Both the Database and Browser services are running.
Local and remote connections are enabled under SAC. I also used sp_configure to make the same changes.
All Protocols for SQLEXPRESS have been Enabled using the Configuration Manager.
The firewalls on both machines have been disabled.
Rebooting the server or restarting services after various changes hasn't affected the outcome.
Local connections made directly on the server are always successful using either authentication mode.
SQL Native Client Driver is installed on the workstation.
The workstation user is trusted. However, neither authentication mode is successful.
The connection string from the workstation uses the named instance above and the SQL Native Client driver.
Other services on the server are working and avaialble to the workstation, such as shared folders.
When I attempt a connection from the workstation I receive the following errors:
Connection failed:
SQLState: '08001'
SQL Server Error: -1
[Microsoft][SQL Native Client]SQL Networtk Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
Connection failed:
SQLState: 'HYT00'
SQL Server Error: 0
[Microsoft][SQL Native Client]Login timeout expired
Connection failed:
SQLState: '08001'
SQL Server Error: -1
[Microsoft][SQL Native Client]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 setting SQL Server does not allow remote connections.
I have tried all of the recommendations I can find here without any luck. What am I missing?
Hi,
can you post full connection string used to connection machines!!?
Are you able to get connected each other servers from SSMS?
Hemantgiri S. Goswami
|||Try to connect to the Server directly using the appropiate port rather than just using the instance name (to see if the SQL Browser is causing the problem) Use the format Servername,portnumber for this. If this does not work, you might have not enabled TCP/IP for connections.
HTH, Jens K. Suessmeyer.
http://www.sqlserver2005.de
Would you mind posting what the offending program was? I'm getting the same reaction from SQL Server 2005 Express in my LAN with an application that was running just a couple of weeks ago.
TIA
Mike Baker
Adobe Community Expert
No comments:
Post a Comment