Want to work with us? We're on the lookout for a Magento Developer.

We're hiring

SQL Server 2012 - File is open in another program

Web Bureau

02 August 2013 by Web Bureau

Ok had an issue when restoring a backup and decided i needed to delete the database. Unfortunately the file system wouldnt allow this.  The reference to the SQL .ldf and .mdf were left in the "Data" folder but within Management Studio the DB was gone.

To solve this i needed to stop and start SQL on the server and then tried to delete the .ldf and .mdf through the file system.

All worked a treat




Grow your businessStart a project with us today.