Direct Mailer Job Is Unsuccessful When Direct Mailer Resource Is Not Aliased to DBO (818143)



The information in this article applies to:

  • Microsoft Commerce Server 2002 SP1

SYMPTOMS

When you run a Direct Mailer job from a command line, it is unsuccessful, and you receive the following error message:
[Job Data]
JobDesc=POC Direct Mailer TemplateURL=http://hostname/email_template.asp
MailFrom=user@company.com
DefaultFmt=3
MailingListType=3
MailPersonalize=1
MailingListLocation=Driver={SQL Server};SERVER=servername;DATABASE=site_profile;UID=userid;PWD=password;
MailingListSQL=EXECUTE UspGetMailingList

[Results]
ErrorCode=-2147024891
JobID= ErrorString=[Commerce Server Direct Mailer] Failed to create new mailing list for the job '{4933080A-7540-4A79-9FD3-B9C051C2D22C}': Failed to instantiate ListManager object
This only occurs if the Direct Mailer resource is configured to use SQL authentication, and the account is a database owner who is not aliased to DBO.

CAUSE

This problem occurs if the connection string of the Direct Mailer global resource is configured to use SQL authentication ("Use a specific user name and password") and if the specified account of the user is not aliased to DBO. Even the database owner will fail unless the user is aliased to DBO.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem described in this article. Only apply it to systems that are experiencing this specific problem. This fix may receive additional testing to further ensure product quality. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Commerce Server 2002 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version      Size     File name
   ---------------------------------------------------------
   23-Apr-2003  01:08  4.5.3051.0   297,076  Listmanager.exe  
				

WORKAROUND

To work around this problem, run the following command in SQL Query Analyzer:
Run sp_addalias 'account', 'dbo'

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:10/6/2005
Keywords:kbBug kbfix KB818143 kbAudDeveloper kbAudITPRO