I have developed a wpf application that use a mdf file as database, on my developer machine this works fine, I can access the mdf file. But on a Win XP test machine I get an error when the application try to access the mdf file. I use this connection...
Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MyDB.mdf;Integrated Security=True;User Instance=True
The mdf file is located in the same directory as the application itself, but it does not work, I get this error...
Error 26 (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
I have installed the Sql Server 2008 native client on the xp machine but still no luck on accessing the mdf file. What could be wrong?
View Complete Post