• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1710
  • Last Modified:

Delete Replication for Publisher and Subscriber

Since we don't have enough space for publisher to do the replication job, I would like to delete the replication for both Publisher ans Subscriber.

I delete the subscription from subscriber successfully. And then I am trying to delete it from the publisher, get the error 9002: (SQL Server Enterprise Manager could not delete the subscription at Subscriber in database) The log file for database 'tempdb' is full. Back up the transaction log for the database to free up some Log space.

Can anyone tell me how to free up some log space and how to delete the replication for both publisher ans subscriber?

Thanks a Lot!
0
Skaugen
Asked:
Skaugen
1 Solution
 
danblakeCommented:
The log file for database 'tempdb' is full. Back up the transaction log for the database to free up some Log space.

You need to increase the space on the server, normally tempdb log file will continue growing or alternativly add an additional log file for tempdb on a spare drive where some space is.

Option : Delete some files where log currently exists/create new log.
(+Check autogrow is enabled or the tempdb log file has sufficient space).

Or alternativly restart the server, to empty tempdb (emergency fix only -- does not stop the problem happening again in future as this resets tempdb to its initial space size).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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