MAPI_E_Not_FOUND ususally means ,not able to connect the server
try to ping the server's FQDN,Netbios name.
Main Topics
Browse All TopicsI am using VB 6 and the CDO 1.21 library. When I try to logon to a session, I receive the MAPI_E_Not_FOUND message.
The code is in the Code window below.
The Exchange Server is running on a Windows 2003 server. My development environment is within VMware workstation running Win 2000 and VB 6 SP6. The VMWare is running in a player on a Terminal Server.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I have pinged emailserver and emailserver.domain.local. Both resolved to an IP address.
Isn't DIM objSession as New Mapi.Session the equivalent of set objSession = CreateObject("MAPI.Session
Since this shows the servername is correct, what about the emailuser name.
the account is mpdillon@domain.com
the name in Exchange System Manager is Pat Dillon
the Window login name is mpaillon
Which one of these should i be using? Does Capitalization matter?
Hello mpdillon,
Have a look to this KB : http://support.microsoft.c
Regards.
Chris,
I did as you suggested. I removed DIM objSession as NEW MAPI.Sessoin. I replaced it with DIM objSession as MAPI.Session.
Just before the Logon line I added. Set objSession = CreateObject("MAPI.Session
I checked the Watch window and almost all of the properties have the following statement.
MAPI_E_Not_Initialized. I recieved the same error on the next line which is the Logon line.
Leakim971. I had seen that article before. It seems like 3 is the closest to my scenario but I did not find any thing there that help me.
Chris,
I know this is going to sound simple but when I try it, the error I receive says the Profile does not exist.
I have searched and connot find details on how to create and exchange profile. Do you know?
In active directory i have created a user invoicing, with a password of invoicing and an email of invoicing@ourdomail.com. Where do i create the Profile???
This applicaiion will run on numerous workstations. So I hope the profile is not specific to the workstation.
thanks,
pat
Try establishing on one pc what the default profile is called and then we can see how to identify it should it change between users:
Win2K: Select control panel : MAil
WIn XP Select user accounts in control panel then select Mail
Vista Select control panel | User accounts | Mail
IN each case check the selection via show profiles. That is what we need to code for in:
pstrProfile = "Default Outlook Profile"
Chris
Business Accounts
Answer for Membership
by: chris_bottomleyPosted on 2009-11-04 at 10:37:58ID: 25742372
Hello mpdillon,
")
I haven't done anything with MAPI mails as such but surely you need to initialise objSession, for example:
set objSession = CreateObject("MAPI.Session
Regards,
chris_bottomley