Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail step failing with MAPI error

Status
Not open for further replies.
Jul 21, 2003
5
US
I am executing a DTS package using .asp script. All steps execute properly except the step which sends email, which fails with a "could not initialize MAPI..." error. If I execute this package using EM, it works fine. It's probably something to do with which user is executing the package during the .asp execution of the package, but I cannot seem to find where the user can be specified.

Matt Goulet
 
Are you using asp or asp.net to kick off the dts script?
 
There are 2 users then on your server:

IUSR_servername - Internet guest account
IWAM_servername - Launch IIS Process Account

Take a look at the permissions on your SQL database, and see if these 2 have permissions.

Also, make sure you have a valid mapi server in your email, if you are using a 3rd party package.
 
Those users do exist in Win2k, but should they also exist in EM (which they do not). Are these users I should create?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top