The process cannot access the file ‘.mdf’ because it is being used by another process

Solution of:The process cannot access the file ‘.mdf’ because it is being used by another process

Follow below solution:

If you are work in SQL server.

Close your SQL server,
Reopen your SQL server.

If you are work in asp.net.

Close your asp.net,
Reopen your asp.net.

Your problem has been solve:

About the Author

avatar