D
DamanPradhan via OfficeKB.com
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 !!!
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 !!!