One solution
I found that if I change the Data Source=(localdb)\v11.0; to Data Source=.\; then it works. I have SQL Express 2014 installed in the default instance (MSSQLSERVER).
However, because I store the files on OneDrive, there are access issues. I had to remove the AttachDBFilename clause while I'm troubleshooting this issue.
|