Replication type: Pull subscription transactional replication.
SQL Server 2008 R2
everything is working fine except that by mistake I deleted the pull distribution agent job for one of the publications.
I recreated the job by scripting out the similar job for another publication.
The new
However, I see there are complications with these manually created jobs (Can be explained if required).
I now want to recreate the distribution agent Job for this publication through proper replication process.
I want to ensure that for Just as simple as recreating the Agent Job, I dont have to reinitialize the whole subscription or drop and recreate the subscriptions or recreate the whole replication for this publication.
I tried to recreate the job with sp_addpullsubscription_agent, I got the error message:
Msg 21002, Level 11, State 1, Procedure sp_addpullsubscription_agent, Line 250
The Distribution Agent for this subscription already exists
(Gloss11-SalesData-Trans_sales-Gloss22-Reporting_SalesData_-2R454415-E456-5T67-S345-D45T9243373B52).
Please review and suggest me if there can be something I need to do better.