View Single Post
  #1  
Old February 26th 09, 10:36 AM posted to microsoft.public.outlook.program_addins
DamanPradhan via OfficeKB.com
external usenet poster
 
Posts: 4
Default OpenMsgStore exception

Hi,

I'm developing an application using MAPI (Mapi33.dll). I'm creating a temp.
profile in this fashion (using C#):
string ProfileName = Guid.NewGuid().ToString();
MAPI33.Helpers.Profile.Create(ProfileName, MAPI33.Helpers.
Profile.FLAGS.AddPrivateAndPublicStore | MAPI33.Helpers.Profile.FLAGS.
UseAdminPrivilege,ExchangeServerName, UserName, null);

The strange part is that on some systems, this line thows a username /
password login box (which is good bcoz it then logs into the Exch. Server),
and on others, it does not. On the ones that do not, I get this error on
trying to open a message store (the OpenMsgStore() function ) :
FailOneProvider. (8004011D)

Can anyone help me solve this issue ? How can we force the username /
password box to ALWAYS show itself when we try to log into the Exch. Server ?

Thanks in advance !!!

--
Message posted via http://www.officekb.com

Ads