I have a .mdf file in App_Data folder. When I am trying to run the program from my server, I am getting this error:
Unable to open the physical file "". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
This is my web.config connection:
<add name="hometourConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\hometour.mdf;Integrated Security=True;User Instance=True"
How do I fix it?