I'm using SQL Server and Visual Studio 2013 for a specific project. I have a database (.mdf
) file, which has a lot of data.
The problem is, when I modify this data, that being both via Visual Studio "Show Table Data" option or via the SQL console on Visual Studio, I get the following error when using LINQ code:
Cannot drop database "MYPROJECT_78c66be067bf45d1b143082737bed23a" because it is currently in use.
Is there a way to solve this problem?
I have several files inside my App_Data
folder:
aspnet-MYPROJECT-20131223105750.mdf
aspnet-MYPROJECT-20131223105750_log.ldf
ErrorLog.txt
MYPROJECT.mdf
MYPROJECT_log.ldf
Thank you. I really need to solve this.