I have an MVC3 and EF 4 Code First application, which is configured to change the DB when the model changes, by setting the DB Initializer to a DropCreateDatabaseIfMod
DropCreateDatabaseIfMod
I had the same issue.
I resolved it by closing a connection open under the Server Explorer view of Visual Studio.