OpenMsgStore API returns MAPI_E_FAILONEPROVIDER in different doamin with exchange server 2007
10 pts.
0
Q:
OpenMsgStore API returns MAPI_E_FAILONEPROVIDER in different doamin with exchange server 2007
Hi,

we have an application that read the data from exchange server using MAPI API.
we have installed the Exchange server 2007 in xyz.co.in domain. when we run that application
from a machine having the same doamin as exchange server domain(xyz.co.in)
The OpenMsgStore API is working properly. when we run that application from a machine
having other domain(abc.co.in). OpenMsgStore API returns MAPI_E_FAILONEPROVIDER(0x8004011d). fail to open the
message store.

The same application is running properly with exchange server 2003 for both case
when we run from a machine having same domain or different domain.

by exploring i got that there are changes in exchange server 2003 and 2007 from security perspective.
so i have given the full access right to that account. still i am facing the same problem.
i uses the following command to give full access right "get-mailbox -server <server name> | add-mailboxpermission -user <user name> -accessrights FullAccess

is it some configuration required at exchange server 2007 which give the permission to access from the other domain

if any one have faced such issue please let us know how we could resolve it.

any suggestion would be great help for us.

Thanks in advance
Narendra
ASKED: Mar 30 2009  4:30 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
40210 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
For MAPI to work you have to be logged onto the domain in which the Exchange server resides. You cannot do this from a different domain. You say this works with an Exchange 2003 server setup? That makes no sense. Are these trusted domains? If not, you can't grant access rights to an account not on the domain you want to connect with.
Last Answered: Mar 30 2009  5:14 PM GMT by Technochic   40210 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0