shivaraj
2007-10-26 11:18:22 UTC
Hi,
I am facing some problem with MAPI. I have a code to fetch mailbox/
public folders from exch 2003 server. I am creating a profile
programmatically which will take a mailbox user name (which is having
domain admin privileges) and Exchange server name. I have nearly 5
exchange servers in which this code is working only for 3. For other
two setup its failing either at "GetMailboxTable" with 80070005 error
code or at "HrOpenExchangePrivateStore" with same error code. Any idea
what is the problem?
I feel its something to do with privileges of the profile which is
been created. Could any one tell me what is the minimum privilege a
user mailbox should have which can be used to create a profile which
can connect to private and public stores?
I am using a user which is having "domain admin" privileges. In one
server when it failed with this user, I made him part of "Exchange
view only permissions" and it worked !!! But the same trick did not
work for other exchange server. Please let me know your views.
Let me know if any one want to have a look at the code part.
Regards,
Shivaraj
I am facing some problem with MAPI. I have a code to fetch mailbox/
public folders from exch 2003 server. I am creating a profile
programmatically which will take a mailbox user name (which is having
domain admin privileges) and Exchange server name. I have nearly 5
exchange servers in which this code is working only for 3. For other
two setup its failing either at "GetMailboxTable" with 80070005 error
code or at "HrOpenExchangePrivateStore" with same error code. Any idea
what is the problem?
I feel its something to do with privileges of the profile which is
been created. Could any one tell me what is the minimum privilege a
user mailbox should have which can be used to create a profile which
can connect to private and public stores?
I am using a user which is having "domain admin" privileges. In one
server when it failed with this user, I made him part of "Exchange
view only permissions" and it worked !!! But the same trick did not
work for other exchange server. Please let me know your views.
Let me know if any one want to have a look at the code part.
Regards,
Shivaraj