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

Just noticed that the username / password box pops up on a Windows Server
2003 machine and does not on a XP system. Is there some sort of a system
setting that needs to be changed somewhere ?

Regards,
Daman

DamanPradhan wrote:
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 !!!


--
- Daman

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200902/1

Ads