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 2008 Forums
 SQL Server Administration (2008)
 ALTER DATABASE failed

Author  Topic 

X002548
Not Just a Number

15586 Posts

Posted - 2011-03-03 : 11:49:06
Tried to do a rollback immediate...and That failed?

I think the app is running away, and the T-LOG filled up

Msg 5061, Level 16, State 1, Line 1
ALTER DATABASE failed because a lock could not be placed on database 'HPWJA'. Try again later.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.

Any idea why I can't grab it away?



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


X002548
Not Just a Number

15586 Posts

Posted - 2011-03-03 : 11:50:54
Error Log is trans log is full and can not be used

I then tried to do a dbcc checkdb and I get

Msg 952, Level 16, State 1, Line 1
Database 'HPWJA' is in transition. Try the statement later.


Plus the error log is filling up

Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2011-03-03 : 15:54:09
no, no, I'm overwhelmed with the responses..please stop

In any case, a dev box, I restarted the instance the truncated the lo



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx


Want to help yourself?

http://msdn.microsoft.com/en-us/library/ms130214.aspx

http://weblogs.sqlteam.com/brettk/

http://brettkaiser.blogspot.com/


Go to Top of Page

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2011-03-04 : 14:31:05
Extend the tran log. You aren't out of disk space too are you.
Go to Top of Page
   

- Advertisement -