SYMPTOMS
In SQL Serve 6.5 Enterprise Manager you can use the
Database/Object Transfer tool to schedule tasks. If the owner's password changes, the scheduled task fails. If the task fails because the owner's password changed, use the
Manage Scheduled Tasks utility to find the task in the Task List. After you locate the task, view the History for the task. This error message is recorded for the failure:
Process Exit Code 1. Cannot connect to destination server.
If the
Event logging of failure option was selected during the creation of the task, the following error message displays in the Application Event Log of the SQL Server computer:
Source: SQL Executive
Event ID: 208
Category: Task Engine
Description: SQL Server Scheduled Task: #, '<task name>' -- Status Failed -- Task invoked on <Date Run> -- Message: Process Exit Code 1. Cannot connect to destination server.
If you try to edit the task you cannot modify the command line or change the password for the account. An example of a dimmed
Command field in the
Edit Task dialog box follows:
XFRAGENT.EXE "SERVERNAME" "sa" <Encrypted Text>
Also, if you use the
SQL-DMO Tasks collection to view the command line of the task, you see that the third parameter is encrypted and cannot be deciphered or changed.