I have a website project setup in my development environment using Visual Studio 2008. I have my database located in the App_Data folder.
Everything has been working fine.
Yesterday, I had to attach and then detach my database to Sql Server Express 2008 to run a command line utility to setup membership and roles...no big deal.
After I detached and then went back into Visual Studio and tried to open the database or one of my pages, I get the error:
Cannot open user default database. Login failed.
Login failed for user 'DEpps\Dwayne'.
Thiis is the first time I've encountered this error? The default database is set to master. I tried changing it to the database I'm using for this project, but still the same error.
The login I'm using is:
Did the attach and detach cause something to go awry?
Thanks for any help.