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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No mapping between account names and security IDs was done

Status
Not open for further replies.

mamartin

Programmer
Aug 10, 2001
75
0
0
US
I have an application that runs a local stored procedure against a remote database. The data is returned to my app, formatted into Excel and then the Excel file is automatically e-mailed to a distribution list. This works fine the first time I execute the app for a given customer site. But, if I select another customer site (after successful completion of first customer site), I receive the error message: "Automation error No mapping between account names and security IDs was done." When I click Debug, it points to the line of code:

Set MailOutLook = outlook.createitem(olMailItem)

MailOutLook is defined as outlook.MailItem

Any ideas on what the problem could be?

Thanks,
Michael A. Martin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top