Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 Detaching/Attaching Files and but files are in use

Author  Topic 

DBASlut
Yak Posting Veteran

71 Posts

Posted - 2009-06-22 : 16:57:47
Here is what is happening. I detach a database via MSSM Studio. I then go to the Log file and attempt to rename, so when I re-attach it will generate a new log file. however I'm getting an Access is Denied, Disk full or write protected or file maybe in use.

I am an Admin on this server, I see no files in use.
What is going on? I had been able to do this in other environments.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-06-23 : 16:45:36
Use Process Explorer from sysinternals to see what has a handle on the file.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -