Pages

Tuesday, 3 March 2009

Configuring SQL Server Express 2005 for Remote Access

If you are getting errors connecting to SQL Server Express 2005 via remote client software and don't have any problem connecting to it from the local machine, this post might be useful to you

If you are getting the error messages listed below, then we might have solution for you :-)

  • sql server does not allow remote connections

  • SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified

  • An error has occured 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 connection to SQL Server))

  • Server does not exist or access denied


This issue occurs because SQL Server Express 2005 is not automatically configured for remote access and have to enabled  manually :-(

Follow the steps below to enable remote access in SQL Server Express 2005

  1. Enable the TCP/IP protocol using the Surface Area Configuration Utility for remote connections

  2. Enable the TCP/IP protocol in the SQL Server Configuration Utility

  3. Make sure the SQL Server browser is started

  4. Restart the system for changes to take effect


If you have any other suggestions, please let me know via comments and will update the post accordingly.

No comments:

Post a Comment