Feb 16, 2018 05:59 AM|Marlorb|LINK
I have the same connection string. I also tried creating a new website to see if it would work; but still it does not work. The problem with this website I created a long time ago. I had accidentally deleted SQLEXPRESS then when I realized that, I reinstalled
it and then that's when the ASPNETDB.MDF did not work. I had another database that I built and it worked just find.so I don't know what the problem is.
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"