I'm making a C# application that uses SQL Server 2008 R2 Express on Windows 7 64bit. The problem I'm facing is I can't connect to my database because my connection string is wrong. I'm using a .udl file to make the connection string and this is what it gave me:
Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Restorant;
DataSource=.\SQLEXPRESS
This connection string is creating an error that says that there is an unrecognized escape value. I tried to change my data source to (local), since my friends said it works on their projects, but I couldn't connect because of an unknown instance name error.
Is there any way other for me to connect to my database?