j_machale
asked on
Database marked inaccessible
I have two copies of SQL server 6.5 - one running on a laptop and one on a server both running on NT4 WS. I tried to copy a database from the laptop to the server using Enterprise Mgmr and I have both of the servers registered in the Mgmr. Now both the db I tried to copy and the destination copy are grey and have "(loading)" after their names. I cannot access either db. Can anyone help ? When I was also getting an error that the transaction logs were full - could this have anything to do with it. I am a newbie so any help would be great , Thanks
Read about "My SQL Server database has been marked "loading" - what can I do?" at
http://www.ntfaq.com/ntfaq/sql221.html#sql221
Look also at here "Re-creating and Reloading Lost Databases" from SQL Server Books online.
But before dropping your database, I advise you to check this:
May be the database property "dbo use only" is set to true? If it so, that only the database owner can use the database. Choose Manage, Databases, click on the "loading" database, choose Options and uncheck "dbo use only". May be it helps? (Read about "Create Database", option FOR LOAD)
http://www.ntfaq.com/ntfaq/sql221.html#sql221
Look also at here "Re-creating and Reloading Lost Databases" from SQL Server Books online.
But before dropping your database, I advise you to check this:
May be the database property "dbo use only" is set to true? If it so, that only the database owner can use the database. Choose Manage, Databases, click on the "loading" database, choose Options and uncheck "dbo use only". May be it helps? (Read about "Create Database", option FOR LOAD)
ASKER
Sorry chikrik,
It took me a long while to get back to this question.That did not work as when I try to delete the marked database it says "Error 906: Could not locate row in Sysobjects for system catalog 'System Objects' ..... . It then says to run DBCC CHECKTABLE. Any more ideas on how to delete this DB or how do I rnu this DBCC ? Thanks.
It took me a long while to get back to this question.That did not work as when I try to delete the marked database it says "Error 906: Could not locate row in Sysobjects for system catalog 'System Objects' ..... . It then says to run DBCC CHECKTABLE. Any more ideas on how to delete this DB or how do I rnu this DBCC ? Thanks.
ASKER
Ok I deleted the database using sp_dbremove,thanks. Please repost the answer for points.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER