Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Cannot drop database (hanging in loading and marked for replication)
Hi

I have restored a database to the same instance as it was backup, but as a
copy of the original database (I need a couple of Stored Procedures), but
while restoring the database is to hanging with (Loading).

I've tried to drop the database but it says that it cannot be dropped
because it is marked for replication, I've then tried to drop the
replication on the database but it can't, it says that the database cannot
be opened because it is in the middle of a restore.

What to do? I'm pretty stuck....

I've running SQL Server 2000 on a windows 2003 server SP1, the database is
less than 100MB in size.

-Kim



Report this thread to moderator Post Follow-up to this message
Old Post
Kim
02-18-06 08:23 AM


Re: Cannot drop database (hanging in loading and marked for replication)
I was having the same problem restoring my database (without replication
issue) and it's stuck loading for an hour, so stoped SQL Server and removed
that datbase mdf and log files..
Then restarted my server and run mentanance task (optmizing & fix intgerity)
on master database..
Then restore my database from the backup
it finished in less than a minute.

"Kim" < webdrift_nospam_@car
lbro.dk> wrote in message
 news:43f6ec88$1@news
.carlbro.dk...
> Hi
>
> I have restored a database to the same instance as it was backup, but as a
> copy of the original database (I need a couple of Stored Procedures), but
> while restoring the database is to hanging with (Loading).
>
> I've tried to drop the database but it says that it cannot be dropped
> because it is marked for replication, I've then tried to drop the
> replication on the database but it can't, it says that the database cannot
> be opened because it is in the middle of a restore.
>
> What to do? I'm pretty stuck....
>
> I've running SQL Server 2000 on a windows 2003 server SP1, the database is
> less than 100MB in size.
>
> -Kim
>



Report this thread to moderator Post Follow-up to this message
Old Post
Islamegy®
02-18-06 02:23 PM


Re: Cannot drop database (hanging in loading and marked for replication)
Hi,

I've removed the psysical files as suggested and runned the maintenance task
"check database integrity" on master (couldn't find optimize + fix
integrity).
This hasn't removed the entry from the enterprise manager.... should I make
a new restore and then remove the entry ? (I don't need to restore it
anymore)

-KIm


"Islamegy®" < NULL_Islamegy_NULL@y
ahoo.com> wrote in message
news:ummPctJNGHA.532@TK2MSFTNGP15.phx.gbl...
>I was having the same problem restoring my database (without replication
>issue) and it's stuck loading for an hour, so stoped SQL Server and removed
>that datbase mdf and log files..
> Then restarted my server and run mentanance task (optmizing & fix
> intgerity) on master database..
> Then restore my database from the backup
> it finished in less than a minute.
>
> "Kim" < webdrift_nospam_@car
lbro.dk> wrote in message
>  news:43f6ec88$1@news
.carlbro.dk... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Kim
03-01-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:40 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006