Click to See Complete Forum and Search --> : Problems with MAPI.Session


lmf232s
08-10-2004, 01:29 PM
I am trying to connect to our exchange server and access outlook.
I am running into a problem.

Microsoft VBScript runtime error '800a01ad'

ActiveX component can't create object: 'MAPI.Session'

/NewTest/Exchange/lftFrame.asp, line 114


it dies when it is trying to create the object.
This is line 114


Set objSession = CreateObject("MAPI.Session")

I have checked and I have MAPI.dll installed on the server.
What else am i missingl.

lmf232s
08-10-2004, 07:48 PM
I figured it out. What I was trying to do was create a link to outlook. To be able to create an object of the MAPI.Session you need the
cdo.dll installed on your machine.
The cdo.dll used to be available for download from microsoft but was abandoned. It now is installed when you install programs like
outlook. On my server that my web page runs on(a striped down server, only has my intranet) I do not have anything like outlook
so the cdo.dll was not installed. Found the dll on my laptop, copied it and wola it works.