Hi guys,
Trying to connect to a SQL Server 2005 instance remotely but getting the following exception:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Have checked and the server is enabled to accept remote connections. Connection string I'm using in .NET looks like this:
Data Source=SERVERIP\INSTANCE;Initial Catalog=DATABASENAME;User Id=USERNAME;Password=PASSWORD;
Any ideas? Thank you :)