"Datasource=xx\SQLEXPRESS; Initial catalog = xx;Intergrated security=True";
while connecting my SQLEXPRESS database iam getting a error in connection string:"Unrecognized escape sequence"
"Datasource=xx\SQLEXPRESS; Initial catalog = xx;Intergrated security=True";
while connecting my SQLEXPRESS database iam getting a error in connection string:"Unrecognized escape sequence"
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
jeevan mummadiPosted Apr 19, 2008, 12:36 AM
try this one......
-> in the default data folder
connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf"
-> in an absolute path
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\NewMembershipProvider\App_Data\Members.mdb;Persist Security Info=False"