Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDO login problem


Message #1 by "Monica Illera" <millera@a...> on Fri, 7 Sep 2001 13:34:28
Hi everybody!!



I used MAPI session and ASP code to access an Exchange server.The Exchange 

server is the same as the IIS server.

My problem is that I can'y gain access to a particular Mailbox, I get 

always the same error message:



You do not have permission to log on. [Microsoft Exchange Server 

Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]]



My code is this , I try to access to de Calendar Folder:



set ObjSesion = server.CreateObject("MAPI.Session")

dim strProfileInfo

strServer="myserver"

strMailbox="myMailbox"

strProfileInfo = strServer & vbLf & strMailbox

ObjSesion.Logon "", "", False, True, 0, False , strProfileInfo

set ObjCalendarFolder=ObjSesion.GetDefaultFolder(0)



Could you tell the way to solve this problem???

Thanks very much

Mónica

 
Message #2 by "Siegfried Weber" <sweber@c...> on Sat, 8 Sep 2001 22:27:37 +0200
As the error message indicates, the Windows 2000/NT account used to run

this application doesn't have permissions to logon to this particular

mailbox.



Check http://www.cdolive.com/asp1.htm and

http://www.cdolive.com/asp2.htm for information about security and it's

relationship with Exchange Server.



<Siegfried />





> -----Original Message-----

> From: Monica Illera [mailto:millera@a...]

> Sent: Friday, September 07, 2001 3:34 PM

> To: ASP CDO

> Subject: [asp_cdo] CDO login problem

>

> Hi everybody!!

>

> I used MAPI session and ASP code to access an Exchange server.The

Exchange

> server is the same as the IIS server.

> My problem is that I can'y gain access to a particular Mailbox, I get

> always the same error message:

>

> You do not have permission to log on. [Microsoft Exchange Server

> Information Store - [MAPI_E_FAILONEPROVIDER(8004011D)]]

>

> My code is this , I try to access to de Calendar Folder:

>

> set ObjSesion =3D server.CreateObject("MAPI.Session")

> dim strProfileInfo

> strServer=3D"myserver"

> strMailbox=3D"myMailbox"

> strProfileInfo =3D strServer & vbLf & strMailbox

> ObjSesion.Logon "", "", False, True, 0, False , strProfileInfo

> set ObjCalendarFolder=3DObjSesion.GetDefaultFolder(0)

>

> Could you tell the way to solve this problem???

> Thanks very much

> M=F3nica

>


  Return to Index