Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDO and ASP.NET


Message #1 by "Erik Marcussen" <erik.marcussen@a...> on Wed, 28 Aug 2002 08:40:23
I have made an application for mobile online access to PIM information on 
an exchange server. The tools used was CDO 1.21, ASP.NET and Mobile 
Internet Toolkit. The application runs so that the anonymous user is an 
account with access to the mailboxes of other users

I have two problems now:
1. I cant store the MAPI.Session as a Session variable in ASP.NET. It 
gives me an  [E_ACCESSDENIED(80070005)]] when using the session to access 
any property. Instead I have to recreate the session on each postback and 
logoff at end of response, something that slows down the application 
significantly. Anyone know a trick to get it to work. I know the 
individual pages had to have the aspCompatible property set to true so the 
threading model is compatible with CDO. Is the reason above somewhat 
related to this? I really really need to make the application faster and 
use less 

2. I have problems that sometimes when I install the application on other 
machines, especially machines with Windows XP and Office XP, the 
application freezes or times out when accessing properties after 
MAPI.Session.Login(). Any reason for this? I have written a small c# forms 
application using cdo 1.21 that works on the same machines. Any help on 
these two issues is greatly appreciated

Thanks Erik

  Return to Index