[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

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
0
j_machale
Asked:
j_machale
  • 3
  • 2
1 Solution
 
j_machaleAuthor Commented:
Sorry - one amendment - only the server database is marked loading and when I click on it it says the db is marked unaccessible and cannot be edited
0
 
chigrikCommented:
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)
0
 
j_machaleAuthor Commented:
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.
0
 
j_machaleAuthor Commented:
Ok I deleted the database using sp_dbremove,thanks. Please repost the answer for points.
0
 
chigrikCommented:
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)
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now