SYMPTOMS
When testing a new operator that has more than one e-mail address to be notified, SQL Server Agent may terminate after several successful attempts with an access violation (AV), and a Dr. Watson error is generated for the SQL Server Agent process.
The following is seen in SQLAgent.out (note that it is the last line that has the error):
The ExecReAlloc memory operation failed (request [for 84 bytes] occurred at line 685 of function ParseRecipients)
SQLAgent.out may also have the following errors:
2001-06-26 12:29:09 - ! [LOG] Exception 5 caught at line 173 of file ..\src\refreshr.c. SQLServerAgent initiating self-termination
2001-06-26 12:29:09 - ? [358] Mail session ended
2001-06-26 12:29:12 - ! [097] Memory leak detected [352 bytes]
2001-06-26 12:29:12 - ? [098] SQLServerAgent terminated (normally)
This problem is also seen with jobs that have notifications set up to an operator with multiple addresses. After the job completes the first time, the mail is sent successfully. Running the same job a second time, or running another job, may terminate SQL Server Agent.
You may also see this problem when testing the SQL Mail Profile. When
Test is clicked again after several successful attempts, the following message may appear:
Unable to test this address because the SQL Server Agent service is not running.
RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack