That's a temporary fix. The create and drop publications is needed for a permanent fix if this is what I think it is (an imprperly cleaned up transactional replication publication).
If you check DBCC OPENTRAN, is there still a reference to replicated and unreplicated transactions? If so, all you've done is fix the symptoms for now, the problem will be back in a few days.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter
We stand on the bridge and no one may pass