Microsoft KB Archive/324512

= How To Troubleshoot Commerce Server Direct Mailer =

Article ID: 324512

Article Last Modified on 7/13/2004

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q324512



IN THIS TASK
SUMMARY
 * Configuration Properties
 * Common Error in the dml_jobs_errors Table
 * Important Considerations

REFERENCES



SUMMARY
This step-by-step article describes how to troubleshoot Direct Mailer.

Direct Mailer functionality is a high-performance personalized mail generation engine. You can use List Manager to import and manage mailing lists. Direct Mailer uses the mailing list that you create by using List Manager to send mail to the recipients in the list.

back to the top



Configuration Properties
If you are experiencing problems when you use Direct Mailer, follow these steps to verify the Direct Mail Configuration properties:  Expand Commerce Server Manager, open the Commerce Group that you want to administer, and then click Global Resources. Right-click Direct Mailer, and then click Properties. Verify the following settings:  Delivery Locations - Drop directories are listed for local delivery, and the SMTP server address is listed for remote delivery. See the Delivery Method property to determine if it is set for local delivery or remote delivery. Delivery Method - Determines where the mailings are to be delivered.  If Delivery Method is set to Local, and Direct Mailer is processing the job as expected, the messages that Direct Mailer creates appear in the delivery location (or locations) that you specified in the Delivery Locations property.</li> If Delivery Method is set to Remote, and Direct Mailer is processing the job as expected, the messages go through the pickup folder, \Inetpub\Mailroot\Queue. This occurs very quickly; you might not see the message go through the pickup folder.</li> If the messages do not appear in the drop folder or the SMTP queue folder, get the failing job ID, and then get more information about the failure in the dml_job_errors table in the Direct Mail database. See the product documentation for complete instructions about how to do this.</li></ul> </li> Log Folder Path - Direct Mailer log. This log is not very informative for troubleshooting. However, it logs previous successes and failures, and logs the failing job ID, which you can get here if you cannot get it from the event log.</li> Maximum Error Percentage - See the product documentation.</li> Maximum Thread Count - Default equal to the number of processors in the server. If you are using a dedicated server, you can increase the thread count to decrease the processing time for the Direct Mailer job. Visit the Microsoft Web site that appears in the &quot;References&quot; section for information about how to identify the correct value.

If you increase the thread count too much, SMTP overflows. This value is dependent on the hardware and the environment configuration. Double the default installed value, and then test the mailer again.</li> Message Per Hour - Default is 0. You can change this value to stop SMTP from overflowing. However, you can also use the Maximum Thread Count property to prevent this problem.</li> Performance Update Interval - See the product documentation.</li> Pipeline Configuration File - Default \Microsoft Commerce Server\DMLPipe.pcf. If you have changed this file, review your changes to verify that they are what you want.</li> Proxy Bypass - See the product documentation.</li> Proxy Server - See the product documentation.</li> Connection Strings - See the product documentation. Open the Bizdesk, click Campaigns, and then click Campaign Manager. If you receive the following error message

Direct Mail global resource is not available

change the connection string accordingly.</li></ul> </li></ol>

back to the top

Common Errors in the dml_jobs_errors Table

 * job_error_code -2147220977

job_error_str CDO error while trying to compose or send a message to recipient ....

The server response was: 550 ....unable to relay for .....

Suggested solution: Add the Commerce Server IP address to the SMTP Relay.
 * job_error_code -2147220973

job_error_str CDO error while trying to compose or send a message to recipient ....The transport failed to connect to the server.

Suggested solution: The SMTP server is not available. Verify that the SMTP server can send e-mail messages. See the articles listed in the &quot;References&quot; section.
 * job_error_code -2147220975

job_error_str CDO error while trying to compose or send a message. Message could not be sent to the SMTP server.

The transport error code was 0x800CCC13. The server response was not available.

Suggested solution: Direct Mail Engineer might be causing the SMTP server to backup. If possible, test by using drop directories instead of remote SMTP server. If this is not possible, review the SMTP server settings to verify that you open up SMTP as much as possible for testing.

back to the top

Important Considerations

 * Commerce Server 2000 is not cluster-aware.
 * Commerce Server 2000 - Direct Mailer must be installed on the computer running SQL Server.
 * Commerce Server 2002 is cluster-aware. For more information, see the product documentation. To do this, open the Commerce Server 2002 documentation, view the article titled &quot;Deploying your Site,&quot; click Configuring a Typical Deployment,&quot; click Configuring the Database Tier, and then click Installing Commerce Server 2002 Resource as a Clustered Resource.

back to the top

<div class="references_section">