Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: Can't login on Exchange 5.5


Message #1 by "Benny Olsson" <Benny.Olsson@D...> on Wed, 4 Apr 2001 13:46:55
Hi!



I've been writing a component to integrate the Exchange user calender with 

a webpage. 

When I'm using it with a Exchange 2000 server then everything works fine, 

and it worked fine with Exchange 5.5 too, but then it just stopped work. 

This is a part of the code I'm using:



Set gobjSession = New MAPI.Session

    With gobjSession

        .Logon ProfileInfo:=strServer & vbLf & strUserName, 

ShowDialog:=False

        Set objFolder = .Inbox

    End With

ExitFunc:

Set objFolder = Nothing



the code fails on the .Logon line. Don't know what to do with it.. Haven't 

changed anything in the network, and when I use outlook it works fine. 

Anybody got an idea on what to do about it? 



And.. Are there anyone out there who knows howto create a superuser for 

Exchange 5.5? I need to be able to access all the mailboxes from 1 user.



Thanks!



//Benny Olsson





Message #2 by "Benny Olsson" <Benny.Olsson@D...> on Mon, 9 Apr 2001 10:24:34
btw.. The error I receiv is Mapi_e_not_found

I'm using the EXACT same username and Server as I do in outlook.

Plz help.. :) 



Thanks...

Benny Olsson

> Hi!

> 

> I've been writing a component to integrate the Exchange user calender 

with 

> a webpage. 

> When I'm using it with a Exchange 2000 server then everything works 

fine, 

> and it worked fine with Exchange 5.5 too, but then it just stopped work. 

> This is a part of the code I'm using:

> 

> Set gobjSession = New MAPI.Session

>     With gobjSession

>         .Logon ProfileInfo:=strServer & vbLf & strUserName, 

> ShowDialog:=False

>         Set objFolder = .Inbox

>     End With

> ExitFunc:

> Set objFolder = Nothing

> 

> the code fails on the .Logon line. Don't know what to do with it.. 

Haven't 

> changed anything in the network, and when I use outlook it works fine. 

> Anybody got an idea on what to do about it? 

> 

> And.. Are there anyone out there who knows howto create a superuser for 

> Exchange 5.5? I need to be able to access all the mailboxes from 1 user.

> 

> Thanks!

> 

> //Benny Olsson

> 

> 


  Return to Index