Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / July 2006

Tip: Looking for answers? Try searching our database.

How to use Impersonation with MAPI and CDO?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dipak patil - 16 Jun 2006 11:00 GMT
Hi All,

Using CDO and MAPI I discover whole exchange server.
My program runs as a NT service.
If I start service under administrative privileges then everything works
fine.
However, if  I start service in local system account and impersonate
administrator user then

1. MAPI call IMsgServiceAdmin::ConfigureMsgService fails with an error
0x80040115 (network error).
2. CDO call ADsGetObject fails with an error 0x80072020 (An operations error
occurred)

I did not find any concrete documentation on CDO and MAPI impersonation.

Can anybody please help for the same ?

Regards,

Dipak.
Jeff Garman [MSFT] - 21 Jul 2006 23:17 GMT
Dipak,

You may want to have a look at Steve Griffin's bog entry on MAPI / CDO and
impersonation.  Steve has some great info on this whole topic:
http://blogs.msdn.com/stephen_griffin/archive/2005/04/13/407925.aspx

Hope this helps!
- Jeff

> Hi All,
>
[quoted text clipped - 18 lines]
>
> Dipak.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.