Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: AW: Re: CDO logon problem


Message #1 by Szuka Robert <r.szuka@o...> on Wed, 4 Apr 2001 16:34:27 +0200
ok here is how to create a superuser:



start exchangeAdmin, chose the site, click "recipients", File - 

Properties -

Permissions.

Then Add the user you want as a User, give him the rights, "send as" 

and

"mailbox owner"



PLease note that this SuperUser must NOT be an Exchange Administrator





Robert Szuka

Product Manager Groupware



ome internet communication services AG



Leibnizgasse 1/Top 5

A-1100 Wien

Tel:   +xx x xxx xx xx

Mobil: +43 (0) 699 131 450 54

Fax:   +xx x xxx xx xx

eMail: r.szuka@o...

Internet: http://www.ome-ics.at

WAP: http://wap.ome-ics.at

HDML: http://wap.ome-ics.at/hdml/









-----Urspr=FCngliche Nachricht-----

Von: Benny Olsson [mailto:Benny.Olsson@D...]

Gesendet: Mittwoch, 04. April 2001 16:10

An: ASP CDO

Betreff: [asp_cdo] Re: CDO logon problem





Don't know why it's doing this way, but I might know a solution to your 



problem.. Have you tried putting the working VB code in a Com object 

and

then call the function in the Com?



You wrote that the code ran under a user with access to all mailboxes.. 



a.k.a a superuser.. Could you perhaps help me to create a superuser in

Exchange 5.5?





//Benny Olsson



Benny.Olsson@D...



> 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 =3D CreateObject("MAPI.Session")

>   vProfileinfo =3D vServername + vbLf + txt_alias.Text

>   Call MyMapiSession.Logon("", "", False, True, 0, True, 

vProfileinfo)

>

> asp:

>   Set objSession =3D Server.CreateObject ("MAPI.Session")

>   strProfileInfo =3D 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

Message #2 by "Benny Olsson" <benny.Olsson@D...> on Mon, 9 Apr 2001 09:11:12
ok..

Well.. I did as you said, but I didn't find anyplace to set the 

right "Mailbox owner". In Exchange Admin I was able to set the role 

to "Send as", but there were no such thing as "Mailbox owner" in the 

dropdown menu.. Do I set this right in the NT account manager?



Thanks!





> ok here is how to create a superuser:

> 

> start exchangeAdmin, chose the site, click "recipients", File - 

> Properties -

> Permissions.

> Then Add the user you want as a User, give him the rights, "send as" 

> and

> "mailbox owner"

> 

> PLease note that this SuperUser must NOT be an Exchange Administrator

> 

> 

> Robert Szuka

> Product Manager Groupware

> 

> ome internet communication services AG

> 

> Leibnizgasse 1/Top 5

> A-1100 Wien

> Tel:   +xx x xxx xx xx

> Mobil: +43 (0) 699 131 450 54

> Fax:   +xx x xxx xx xx

> eMail: r.szuka@o...

> Internet: http://www.ome-ics.at

> WAP: http://wap.ome-ics.at

> HDML: http://wap.ome-ics.at/hdml/

> 

> 

> 

> 

> -----Urspr=FCngliche Nachricht-----

> Von: Benny Olsson [mailto:Benny.Olsson@D...]

> Gesendet: Mittwoch, 04. April 2001 16:10

> An: ASP CDO

> Betreff: [asp_cdo] Re: CDO logon problem

> 

> 

> Don't know why it's doing this way, but I might know a solution to your 

> 

> problem.. Have you tried putting the working VB code in a Com object 

> and

> then call the function in the Com?

> 

> You wrote that the code ran under a user with access to all mailboxes.. 

> 

> a.k.a a superuser.. Could you perhaps help me to create a superuser in

> Exchange 5.5?

> 

> 

> //Benny Olsson

> 

> Benny.Olsson@D...

> 

> > 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 =3D CreateObject("MAPI.Session")

> >   vProfileinfo =3D vServername + vbLf + txt_alias.Text

> >   Call MyMapiSession.Logon("", "", False, True, 0, True, 

> vProfileinfo)

> >

> > asp:

> >   Set objSession =3D Server.CreateObject ("MAPI.Session")

> >   strProfileInfo =3D 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