10 pts.
 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

Software/Hardware used:
ASKED: March 30, 2009  4:30 PM
UPDATED: March 30, 2009  5:14 PM

Answer Wiki:
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 Wiki Answer Submitted:  March 30, 2009  5:14 pm  by  Technochic   56,975 pts.
All Answer Wiki Contributors:  Technochic   56,975 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _