Re: DTS executing -
10-15-2003
, 07:58 AM
Hi,
Ok, this is the situation we know that could cause this:
When you run a SQL Server Agent job, the job may not respond if all the
following conditions are true:
- The job is configured to send an e-mail notification upon completion.
- The mail profile of SQL Server Agent is configured to use Microsoft
Exchange Server and the Microsoft Outlook Address Book service.
- The Outlook Address Book service references the Outlook Contacts folder.
- The computer that is running Exchange Server is not available.
When the computer that is running Exchange Server is not available, a SQL
Server Agent job that is configured to send an e-mail notification by using
that computer may stop responding. If you verify the job history of the
SQL Server Agent job, you may see that the job steps are completed
successfully, but the job remains active with the status of "Performing
completion actions." This status indicates that the job is trying to send
the e-mail notification.
Even if the computer that is running Exchange Server is available later,
the affected job may not respond. At the next scheduled time, the affected
job still has a status of "Performing completion actions." Also, the
affected job may not run until you restart the SQL Server Agent service.
This is caused by the SQL Server Agent mail connectivity is handled by a
single mail interface thread. All the SQL Server Agent job uses this mail
interface thread for email communication. Each SQL Server Agent job waits
without any timeout limit until the mail command of the job returns from
the mail interface thread. If the mail interface thread stops responding
because of some external reason, the dependent job keep waiting
infinitely.
This occurs because the mail interface thread stops responding while
trying to resolve the mail recipient names through the Microsoft Outlook
Address Book.
To work around this problem, perform one of the following tasks:
- Remove the reference to the Contacts folder from the Microsoft Outlook
Address Book service in the SQL Server Agent mail profile.
- Remove the complete Microsoft Outlook Address Book service from the SQL
Server Agent mail profile.
If any one of these tasks is performed, the mail interface thread detects
if the Microsoft Exchange Server is unavailable. The SQL Server Agent job
that is configured to send an email notification upon completion,
completes the job after approximately two minutes of wait time for sending
the email notification. The job will not fail or stop responding if there
is a failure in sending email notification.
HTH,
Bas
"This posting is provided "AS IS" with no warranties, and confers no
rights." |