Hi, my name is Harold Javier. I am a .NET developer, trainer, development coach, mentor, and consultant from the Philippines. I'm an avid user and developer of C#, ASP.NET MVC, sometimes ASP.NET Web Form, and just recently ASP.NET Core.
12 February 2013
Unable to open the physical file "C:\....\App_Data\ASPNETDB.MDF". Operating system error 32: "32 (The process cannot access the file because it is being used by another process."
When you encounter this error, there should be 2 things that you should consider :
1. Double check your ConnectionString for some configuration error.
2. Make sure you "always" close the connection to the database (ex. con.Cose();)