Hello,
I have a replica in a server that its performance is critial/poor.
Checking the job's history involved with the replication I have found that a "Distribution clean up: distribution" is not executing successfully.
Then, manually I execute the procedure involved and it looks like xp_cmdshell is the one causing all the problems.
- Have checked that xp_cmdshell is enabled.
- Have verified that both services (agent and sql) are being run as "Local System" (and restarted the services/server)
- Have tried executing xp_cmdshell with a proxy account and nothing (not on a domain and with administrator's credentials: MYSERVER\Administrator)
- Have tried disabling the anti-virus just in case
The error I'm recieving is:"An error occurred during the execution of xp_cmdshell. A call to 'CreateProcess' failed with error code: '5'."
According to the web or articles I have read, this error is about security but I have the maximum privileges possible am I correct?
What other situations am i missing here?
The server is operating with Windows Server 2003; SP2 32bit
SQL: Microsoft SQL Server 2005; SP2
Any info is highly appreciated
Thanks for your help and time
JaimePR,