Hi,
I am getting the following error when I attempt to connect to a database using the following from my WPF app. I have attached a screenshot of this error.
<?xml version="1.0" encoding="utf-8" ?><configuration>
<connectionStrings>
<add name="anConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\App_Data\an.mdf;Integrated Security=false;User Instance=false; user=sa;pwd=abc;"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
I have verified the account exists and the password is correct. I have tried using integrated security as well which results in a different error. I am unable to understand what causes this issue and have been working on it for several days now. Any help would be appreciated.