Need help with some error codes I get

Posted on 2008-06-17
Medium Priority
Last Modified: 2013-12-03
We have an old Visual FoxPro program and Outlook 2003.  Everything was working fine up until recently when we had to change all our user names from a first initial and then the first seven letters of the last name, to something that we had to convert to.  It was after this change that things stopped working as they were.  Our programmer has made a table that takes the current user name and maps it to the new user name, but there must be something we're missing.  The error message that comes up is this:

Error Number: 1733
Message: Class definition MAPI.SESSION is not found

Now, when we were testing this, on his machine it seems to be working fine.  The program works as it did before, the program send out the email notices and there are no errors.  It worked on my machine as well.  Then when we had one of the other users try it, they get the error message.  We think we've narrowed it down to the fact that we have FoxPro installed on our PCs where the user does not.  I'm thinking that it may just be one or two (or more) files that are needed to be installed on the users machine for this to work properly, but I'm not sure what those files may be.  We do have a few dll files that we needed to place on the systems in the Windows\system32 to get the program to work when it was first developed, but it appears that we now need some additional files or something installed to get it back to working order.  Any ideas would be greatly appreciated.

Question by:facithelpdesk
  • 2
LVL 33

Accepted Solution

CarlWarner earned 2000 total points
ID: 21807218
You receive the "Class definition MAPI.SESSION is not found" error message when you use CREATEOBJECT to send e-mail messages from Visual FoxPro applications

Author Comment

ID: 21813349
Seems our Help Desk guys forgot to include the CDO on the latest image for our machines.  Thanks for the assist.
LVL 33

Expert Comment

ID: 21814781
You're welcome.

I wish that CDO weren't an extra.  But, that's the way things are.

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
A few solutions to a problem some of us have been having when trying to add Hostgator email accounts to Outlook 2016 (will probably work with Outlook 2013 as well).
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question