Re: Error in Distribution Clean Up Agent



can you make sure xp_cmdshell is enabled? Do this:

exec master.dbo.sp_configure 'xp_cmdshell'

If run value is 0, do this

exec master.dbo.sp_configure 'xp_cmdshell',1
reconfigure with override

Then start up your distribution clean up task.

--
Hilary Cotter

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



"noda" <hend_g@xxxxxxxxxxx> wrote in message
news:1164102353.485024.276880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ÚäÏì

Server 1 SQL 2000 (SP4) Distributor, Publisher
Server 2 SQL 2000 (SP4) Subscriber

Transactional Replication set up between Server 1 and 2.
All the agents are running successfully (Log Reader, Snapshot, Other
Miscellenaous agent...except the Distribution Clean Up Agent

ÊÚØì åÐÇ error
Executed as user: COOP\sqladmin. Could not remove directory
'\\ALXCONTGC\ReplData\unc\ALXCONTGC_sales_Pub_Alxoffc_Anualtrans\20061119100406\'.
Check the security context of xp_cmdshell and close other processes
that may be accessing the directory. [SQLSTATE 42000] (Error 20015)
Replication-@rowcount_only parameter must be the value 0,1, or 2. 0=7.0
compatible checksum. 1=only check rowcou: agent
distribution@rowcount_only parameter must be the value 0,1, or 2. 0=7.0
compatible checksum. 1=only scheduled for retry. Could not clean up
the distribution transaction tables. [SQLSTATE 01000] (Message 14152).
The step failed.
åá ÇÍÏ ÚäÏå Íá áåÐå ÇáãÔßáÉ¿


.



Relevant Pages

  • Re: SQL Server 2000 Replication Agents Credentials
    ... the snapshot agent IS using sql login to connect to the ... The pull distribution agent IS using sql ... Do you know where SQL Server 2000 saves the sql ...
    (microsoft.public.sqlserver.replication)
  • RE: Replication Error
    ... account that the SQL Agent runs under. ... When I setup replication two jobs are setup within sql server server. ... step of each job (Snapshot Agent startup message, ...
    (microsoft.public.sqlserver.replication)
  • Re: SQL Server and Agent Accounts
    ... I suggest that you refer to the information in SQL ... The SQL Server Agent service at the client should not use ... SQLAgent account is the security context under which the Snapshot Agent, ...
    (microsoft.public.sqlserver.replication)
  • Re: DTS job fails if scheduled on VB email step.
    ... What account owns the SQL Server Agent Job? ... Outlook is installed on the server. ... I am logged in as the SQL Agent domain account on the server. ...
    (microsoft.public.sqlserver.dts)
  • Replication, Identities
    ... Jetzt passiert es aber zum zweiten Mal (vor drei Monaten auf einem Server, ... Der Hinweis, den Merge Agent stoppen-starten, oder von "kontinuierlich" auf ... Ist das ein bekannter Bug von SQL Server? ...
    (microsoft.public.de.sqlserver)

Loading