I am developing an application that contains a small SQL Server database File.
On my machine, it works fine. I am using Microsoft Visual C# Express 2010.
I have sent my project to a colleague. He is using the same software. And he has placed the database file in the same place (c:\folder\db.mdf
). However, he gets the following error when trying to open the connection:
System.Data.SqlClient.SqlException was unhandled
Message=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)
How can I help my colleague get connected? He is on the other side of the country.