locked
First run and connecting to a Database RRS feed

  • Question

  • User-332238837 posted

    I have VS2005, SQL 2005 Dev and also SQL Express installed on my machine all latest version, but when I run the ClubSite it can't connect to the database, I've tried changing the ClubSiteDB in the WebConfig and also run the club-add.sql and created a new database, but always get the following message:

    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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Thursday, December 22, 2005 5:08 AM

All replies