Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDO logon problem


Message #1 by "robert szuka" <r.szuka@o...> on Mon, 26 Mar 2001 13:23:06
Hi!



im runnning a Win2K Server.

I want to logon with cdo to an exchange 5.5 server



the following dlls are registered:



cdo.dll, version 1.2, file version 5.5.2650.12

mapi32.dll, version 1.0, file version 1.0.2518.0

mapi.dll, version 5.5, file version 5.5.2175.0



I wrote an vb.exe and an asp page, both containing exactly th same code:



vb:

  Set MyMapiSession = CreateObject("MAPI.Session")

  vProfileinfo = vServername + vbLf + txt_alias.Text

  Call MyMapiSession.Logon("", "", False, True, 0, True, vProfileinfo)



asp:

  Set objSession = Server.CreateObject ("MAPI.Session")

  strProfileInfo = vServer + vbLf + LCase(vUID)

  Call objSession.Logon ("", "", False, True, 0, True, strProfileInfo)



both, web page and exe are running under the context of an user who has 

access to all mailboxes



the exe runs properly, 

if i run the asp code a msgbox comes up asking for a standard mail client,

altough outlook was defined as standard mail client



after klicking ok, the following error occurs



Collaboration Data Objects (0x43ED)

[ - [(80004005)]]





any ideas?



Robert Szuka


  Return to Index