Develop a windows service to process exchange inbox via MAPI

Did anyone access Exchange inbox using MAPI in a Windows service?  We have a problem to access the mailbox.  The error seems "server is not available."  What we did were
1) log in to the windows xp box using generic AD account, which is the owner of an emailbox.
2) create mail profile.  To verify the profile, the inbox can be accessed using Outlook interface.
3) exit Outlook and Outlook process.
4) run the newly-developed Windows service, which calls the profile and uses its password.
5) we got exception.

Is it something done by anyone?  Any advices for troubleshooting?
mn10191bAsked:
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.

jkrCommented:
This is not a really simple issue, yet MSDN covers it. See http://support.microsoft.com/kb/197820 ("How To MAPI Enable a Windows NT Service")
0
mn10191bAuthor Commented:
Thanks, jkr.  Make it even more complicated.  We developed it in C# code.  Here is a msdn blog about it.  What is it really mean?  Any further enlightenments?

http://blogs.msdn.com/mstehle/archive/2007/10/03/fyi-why-are-mapi-and-cdo-1-21-not-supported-in-managed-net-code.aspx.
0
jkrCommented:
Well, that only means that you risk memory leaks when using CDO. How is your MAPI interaction implemented? If that is plain MAP, that article does not apply.
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
Microsoft Development

From novice to tech pro — start learning today.