MAPI Programming, ConfigureMsgService causes hang

This question concerns the use of MAPI programming to connect to a Microsoft
Exchange 2007 server.

Can anybody think of a reason that ConfigureMsgService would cause a hang?  We have
an application that creates multiple processes in the context of a service account
that has all permissions to the server.  The process goes through creating a temporary
profile and configuring it for a given server name and user id.  This code had
been working fine to my knowledge.

Now something has happened, that is causing *most* of these processes to fail, at
the point of ConfigureMsgService.  It just stops, no error code.  I believe Exchange may have
popped up a dialog box asking for authentication (I'm not sure at the moment, waiting
to get confirmation).  The strange thing is, some accounts will work, and some don't.
If we retry again with an account that works, it might fail, and vice versa.  It appears to be
random.  If we are getting an authentication dialog, why is it not consistent?  Is
there any way this behavior can be turned off?

Any ideas?  Suggestions very much appreciated.


jmckay321Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

apache09Commented:
I think it might just be that MAPI is Broken.
This often happens after installation of Office 2007 on a users Machine.

IF you just run FIX MAPI, should be okay.
http://www.ctimls.com/Support/KB/Error%20Fixes/Fix_Mapi_error.htm

If 2007 was installed using a ADMIN template, there is also a FIX MAPI Option available to run on install.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.