I've created a local DB:
<connectionStrings>
<add name="DataAccessLayer.Properties.Settings.TestDBConnectionString"
connectionString="Data Source=(local)\SQLEXPRESS;AttachDbFilename=|DataDirectory|\bin\TestDB.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
The project's name is "DataAccessLayer" (class library project). The solution consits of another class library and a web application.
I've sent the solution to my friend to take a look at my code... He has VS2010 installed with SQL Server Express (exactly like me). But when he tries to do a login, he gets the following error:
"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)"
We are trying to fix this like for 4 hours and using google of course - no result.
Any ideas??
Thanks!!!