This project is read-only.

Error auto attaching database

Dec 1, 2010 at 7:01 AM

When I try to access "My Dinners", I get the following error:

Database 'C:\DEV\ASP.NET\NERDDINNER\NERDDINNER_2.0\NERDDINNER\APP_DATA\NERDDINNER.MDF' cannot be upgraded because it is read-only or has read-only files. Make the database or files writeable, and rerun recovery.
An attempt to attach an auto-named database for file C:\Dev\ASP.NET\NerdDinner\NerdDinner_2.0\NerdDinner\App_Data\NerdDinner.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.


Any ideas why this is occuring??

I am using Visual Studio 2010, SQL Server 2008 R2 Express and Windows 7.

Thank you!