Hi there,
I have a project created in C# visual studio 2008 standard edition and I am using a Microsoft SQl database file.
I took my solution project in a filer and tried to run the application, going to the project folder and to the bin folder -> Debug folder -> and they I tried to run the application exe,
But when I try to connect to the database(which is the MS SQL database file which is in the project folder) it gives an error message as below

A network- related or instance-specific error occurred while esyablishing 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 connection. (provider : SQL Network interfaces, error 26 Error Locating server/Instance Specified)
7 Years
Discussion Span
Last Post by leahrose87
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.