AddinExpress.MAPI.LogonException

Add-in Express™ Support Service
That's what is more important than anything else

AddinExpress.MAPI.LogonException
 
Doug Cox




Posts: 103
Joined: 2006-10-05
Hi,
I have a user running Outlook 2007 SP1 using an Exchange account with Cached Exchange Mode enabled and getting the following error when I Initialize the AdxmapiStoreAccessor:

Exception Source: AddinExpress.MAPI
Exception Type: AddinExpress.MAPI.LogonException
Exception Message: The logon did not succeed, either because one or more of the parameters to MAPILogonEx were invalid or because there were too many sessions open already.
Exception Target Site: MAPIWrapper.Initialize
Object reference not set to an instance of an object.

I disabled all of the other add-ins and still got the error.
Could this be due to an Exchange setting?

Developing for Outllok 2000 -> 2007
Add-in Express 3.8.1886
MAPI Accessor for .Net 2.3.0

Thanks,
Doug

Posted 09 May, 2008 16:10:54 Top
Eugene Astafiev


Guest


Hi Doug,

Could you send the sources with the MAPI Store Accessor to the support email?

You must have initialized the MAPI Store Accessor with incorrect parameters.
Posted 10 May, 2008 11:22:46 Top
Doug Cox




Posts: 103
Joined: 2006-10-05
Hi Eugene,

I'm confused...do you want me to send you the source code and the MAPI Store Accessor dll?

Thanks,
Doug
Posted 10 May, 2008 14:48:56 Top
Eugene Astafiev


Guest


Hi Doug,

I am interested in the sources in which you use the MAPI Store Accessor.
Posted 12 May, 2008 06:03:48 Top
Doug Cox




Posts: 103
Joined: 2006-10-05
Hi Eugene,
I've sent the sources to the support email.
Thanks,
Doug
Posted 14 May, 2008 07:12:28 Top
Eugene Astafiev


Guest


Hi Doug,

Try to move the initialization routine of the MAPI Store Accessor to the AddinModule_AddinStartupComplete sub.
Posted 14 May, 2008 07:18:53 Top