Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDO error 000004f7 MAPI_E_NOT_FOUND


Message #1 by "nick charlesworth" <nick@i...> on Wed, 14 Mar 2001 11:25:46
Hi,



I am trying to logon to a mailbox from ASP using CDO.

The code i have used is as follows where the strMachineName has been 

assigned the servername value and the strMailbox has been assigned the 

alias of an existing mailbox:



Set objCurSession = CreateObject("MAPI.Session")

Response.Write objCurSession.OperatingSystem

	

objCurSession.Logon , , , , , , strMachineName & vbLF & strMailbox





The MAPI session is created successfully as the response.write line writes 

out the OS details successfully but when it reaches the logon line it 

gives the error:



Collaboration Data Objects error '000004f7' 



[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]] 



I cannot see why this should produce an error, has anyone experienced this 

or know why it might be happening?



thanks,



Nick

Message #2 by parameswaran kumar <kumarjambai@u...> on 14 Mar 2001 06:55:47 MST
You may not register the dll 



check it out

Kumar

"nick charlesworth" <nick@i...> wrote:

Hi,



I am trying to logon to a mailbox from ASP using CDO.

The code i have used is as follows where the strMachineName has been 



assigned the servername value and the strMailbox has been assigned the 



alias of an existing mailbox:



Set objCurSession =3D CreateObject("MAPI.Session")

Response.Write objCurSession.OperatingSystem

	



objCurSession.Logon , , , , , , strMachineName & vbLF & strMailbox





The MAPI session is created successfully as the response.write line write

s 



out the OS details successfully but when it reaches the logon line it 



gives the error:



Collaboration Data Objects error '000004f7' 





[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]] 





I cannot see why this should produce an error, has anyone experienced thi

s 



or know why it might be happening?



thanks,



Nick



Message #3 by dominick.donoflio2@l... on Thu, 15 Mar 2001 14:33:35
> Hi,

> 

> I am trying to logon to a mailbox from ASP using CDO.

> The code i have used is as follows where the strMachineName has been 

> assigned the servername value and the strMailbox has been assigned the 

> alias of an existing mailbox:

> 

> Set objCurSession = CreateObject("MAPI.Session")

> Response.Write objCurSession.OperatingSystem

> 	

> objCurSession.Logon , , , , , , strMachineName & vbLF & strMailbox

> 

> 

> The MAPI session is created successfully as the response.write line 

writes 

> out the OS details successfully but when it reaches the logon line it 

> gives the error:

> 

> Collaboration Data Objects error '000004f7' 

> 

> [Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]] 

> 

> I cannot see why this should produce an error, has anyone experienced 

this 

> or know why it might be happening?

> 

> thanks,

> 

> Nick



Nick,



I don't know a whole lot about this, but I do know that we once removed 

Outlook Express from our Web Server and CDO quit working.  We couldn't get 

it to work again until we reinstalled Outlook Express.



Dom

  Return to Index