Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Wed, 19 Mar 2008 12:21:41 -0700,    group: microsoft.public.platformsdk.mapi        back       


MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
I create a service and run as MAPI client, main task is synchronize voie 
mail between our own voice mailbox and exchange mail box
In our implementation, we need create each prfile for each user and do 
synchrnization one by one.

The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke 
OpenMsgStore() of IMAPISession

The environment is ExchangeServer2007, client machine runs Outlook2007

And, if I use Domain Administrator as service log on account, it works file, 
if I change to another account( when install out software, we create a new 
DoMain Admin account), it fails, even the user belong to same groups as 
Administartor.

Your comment will be appreciated.

leslie
date: Wed, 19 Mar 2008 12:21:41 -0700   author:   Leslie Xia

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Hi Leslie,

> I create a service and run as MAPI client, main task is synchronize
> voie mail between our own voice mailbox and exchange mail box
> In our implementation, we need create each prfile for each user and do
> synchrnization one by one.
> 
> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
> OpenMsgStore() of IMAPISession
> 
> The environment is ExchangeServer2007, client machine runs Outlook2007

Your account needs to get send-as and receive-as permissions to log on to
different mailboxes.

Here are the powershell commands you need:
http://www.blackberry.com/btsc/articles/857/KB12483_f.SAL_Public.html

--
SvenC
date: Wed, 19 Mar 2008 20:51:59 +0100   author:   SvenC am

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
And make sure you always run under the Windows user idntity of the user who 
own the primary mailbox in the profile. If you need to open othe rmailbox, 
use IExchangeManageStore rather than creating a new profile for that user's 
mailbox.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"SvenC" <SvenC@community.nospam> wrote in message 
news:0B2F19A3-8BDD-4C1B-8F89-D2687E7137D9@microsoft.com...
> Hi Leslie,
>
>> I create a service and run as MAPI client, main task is synchronize
>> voie mail between our own voice mailbox and exchange mail box
>> In our implementation, we need create each prfile for each user and do
>> synchrnization one by one.
>>
>> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
>> OpenMsgStore() of IMAPISession
>>
>> The environment is ExchangeServer2007, client machine runs Outlook2007
>
> Your account needs to get send-as and receive-as permissions to log on to
> different mailboxes.
>
> Here are the powershell commands you need:
> http://www.blackberry.com/btsc/articles/857/KB12483_f.SAL_Public.html
>
> --
> SvenC
date: Wed, 19 Mar 2008 13:33:22 -0700   author:   Dmitry Streblechenko

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
I have already set that, but still got problem.
Actually, iy is nothing with my software, if I login windows with Account1, 
and run Outlook, try to connect exchange 2007 with account2, always get 
popup logon box.

leslie

"Leslie Xia"  wrote in message 
news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
>I create a service and run as MAPI client, main task is synchronize voie 
>mail between our own voice mailbox and exchange mail box
> In our implementation, we need create each prfile for each user and do 
> synchrnization one by one.
>
> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke 
> OpenMsgStore() of IMAPISession
>
> The environment is ExchangeServer2007, client machine runs Outlook2007
>
> And, if I use Domain Administrator as service log on account, it works 
> file, if I change to another account( when install out software, we create 
> a new DoMain Admin account), it fails, even the user belong to same groups 
> as Administartor.
>
> Your comment will be appreciated.
>
> leslie
>
>
>
date: Wed, 19 Mar 2008 17:18:14 -0700   author:   Leslie Xia

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Yes, as I mentioned before, you need to run under the user identity of the 
mailbox owner to avoid authentication prompts.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Leslie Xia"  wrote in message 
news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
>I have already set that, but still got problem.
> Actually, iy is nothing with my software, if I login windows with 
> Account1, and run Outlook, try to connect exchange 2007 with account2, 
> always get popup logon box.
>
> leslie
>
> "Leslie Xia"  wrote in message 
> news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
>>I create a service and run as MAPI client, main task is synchronize voie 
>>mail between our own voice mailbox and exchange mail box
>> In our implementation, we need create each prfile for each user and do 
>> synchrnization one by one.
>>
>> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke 
>> OpenMsgStore() of IMAPISession
>>
>> The environment is ExchangeServer2007, client machine runs Outlook2007
>>
>> And, if I use Domain Administrator as service log on account, it works 
>> file, if I change to another account( when install out software, we 
>> create a new DoMain Admin account), it fails, even the user belong to 
>> same groups as Administartor.
>>
>> Your comment will be appreciated.
>>
>> leslie
>>
>>
>>
>
>
date: Thu, 20 Mar 2008 09:56:24 -0700   author:   Dmitry Streblechenko

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
What means "you need to run under the user identity of the
mailbox owner to avoid authentication prompts"

It only works when I login Windows as Account2 if I want to run outlook in 
Account2, doesn't it?

Actually, I ever try Domain Administrator, it works fine.
Thanks a lot.

leslie

"Dmitry Streblechenko" wrote:

> Yes, as I mentioned before, you need to run under the user identity of the 
> mailbox owner to avoid authentication prompts.
> 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> 
> "Leslie Xia"  wrote in message 
> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
> >I have already set that, but still got problem.
> > Actually, iy is nothing with my software, if I login windows with 
> > Account1, and run Outlook, try to connect exchange 2007 with account2, 
> > always get popup logon box.
> >
> > leslie
> >
> > "Leslie Xia"  wrote in message 
> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
> >>I create a service and run as MAPI client, main task is synchronize voie 
> >>mail between our own voice mailbox and exchange mail box
> >> In our implementation, we need create each prfile for each user and do 
> >> synchrnization one by one.
> >>
> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke 
> >> OpenMsgStore() of IMAPISession
> >>
> >> The environment is ExchangeServer2007, client machine runs Outlook2007
> >>
> >> And, if I use Domain Administrator as service log on account, it works 
> >> file, if I change to another account( when install out software, we 
> >> create a new DoMain Admin account), it fails, even the user belong to 
> >> same groups as Administartor.
> >>
> >> Your comment will be appreciated.
> >>
> >> leslie
> >>
> >>
> >>
> >
> > 
> 
> 
>
date: Thu, 20 Mar 2008 10:12:19 -0700   author:   Leslie Xia Leslie

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Correct. If you need to acces other user's mailboxes, use 
IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore if 
you need to opewn somebody's else mailbox, that will require fewer 
privileges.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
>
> What means "you need to run under the user identity of the
> mailbox owner to avoid authentication prompts"
>
> It only works when I login Windows as Account2 if I want to run outlook in
> Account2, doesn't it?
>
> Actually, I ever try Domain Administrator, it works fine.
> Thanks a lot.
>
> leslie
>
> "Dmitry Streblechenko" wrote:
>
>> Yes, as I mentioned before, you need to run under the user identity of 
>> the
>> mailbox owner to avoid authentication prompts.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Leslie Xia"  wrote in message
>> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
>> >I have already set that, but still got problem.
>> > Actually, iy is nothing with my software, if I login windows with
>> > Account1, and run Outlook, try to connect exchange 2007 with account2,
>> > always get popup logon box.
>> >
>> > leslie
>> >
>> > "Leslie Xia"  wrote in message
>> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
>> >>I create a service and run as MAPI client, main task is synchronize 
>> >>voie
>> >>mail between our own voice mailbox and exchange mail box
>> >> In our implementation, we need create each prfile for each user and do
>> >> synchrnization one by one.
>> >>
>> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
>> >> OpenMsgStore() of IMAPISession
>> >>
>> >> The environment is ExchangeServer2007, client machine runs Outlook2007
>> >>
>> >> And, if I use Domain Administrator as service log on account, it works
>> >> file, if I change to another account( when install out software, we
>> >> create a new DoMain Admin account), it fails, even the user belong to
>> >> same groups as Administartor.
>> >>
>> >> Your comment will be appreciated.
>> >>
>> >> leslie
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
date: Thu, 20 Mar 2008 11:14:44 -0700   author:   Dmitry Streblechenko

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Is there any difference between exchange 2003 and 2007 on previlege? since 
our code works fine in 2003.

"Dmitry Streblechenko" wrote:

> Correct. If you need to acces other user's mailboxes, use 
> IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore if 
> you need to opewn somebody's else mailbox, that will require fewer 
> privileges.
> 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> 
> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
> news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
> >
> > What means "you need to run under the user identity of the
> > mailbox owner to avoid authentication prompts"
> >
> > It only works when I login Windows as Account2 if I want to run outlook in
> > Account2, doesn't it?
> >
> > Actually, I ever try Domain Administrator, it works fine.
> > Thanks a lot.
> >
> > leslie
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Yes, as I mentioned before, you need to run under the user identity of 
> >> the
> >> mailbox owner to avoid authentication prompts.
> >>
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >>
> >> "Leslie Xia"  wrote in message
> >> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
> >> >I have already set that, but still got problem.
> >> > Actually, iy is nothing with my software, if I login windows with
> >> > Account1, and run Outlook, try to connect exchange 2007 with account2,
> >> > always get popup logon box.
> >> >
> >> > leslie
> >> >
> >> > "Leslie Xia"  wrote in message
> >> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
> >> >>I create a service and run as MAPI client, main task is synchronize 
> >> >>voie
> >> >>mail between our own voice mailbox and exchange mail box
> >> >> In our implementation, we need create each prfile for each user and do
> >> >> synchrnization one by one.
> >> >>
> >> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
> >> >> OpenMsgStore() of IMAPISession
> >> >>
> >> >> The environment is ExchangeServer2007, client machine runs Outlook2007
> >> >>
> >> >> And, if I use Domain Administrator as service log on account, it works
> >> >> file, if I change to another account( when install out software, we
> >> >> create a new DoMain Admin account), it fails, even the user belong to
> >> >> same groups as Administartor.
> >> >>
> >> >> Your comment will be appreciated.
> >> >>
> >> >> leslie
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >> 
> 
> 
>
date: Thu, 20 Mar 2008 11:32:06 -0700   author:   Leslie Xia Leslie

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
On the server level, yes - admin no longer has the right to open other 
mailboxes by default, the right must be explicitly granted.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
news:DEA93153-58A9-41E5-9940-72EC3AADCE02@microsoft.com...
> Is there any difference between exchange 2003 and 2007 on previlege? since
> our code works fine in 2003.
>
> "Dmitry Streblechenko" wrote:
>
>> Correct. If you need to acces other user's mailboxes, use
>> IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore 
>> if
>> you need to opewn somebody's else mailbox, that will require fewer
>> privileges.
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message
>> news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
>> >
>> > What means "you need to run under the user identity of the
>> > mailbox owner to avoid authentication prompts"
>> >
>> > It only works when I login Windows as Account2 if I want to run outlook 
>> > in
>> > Account2, doesn't it?
>> >
>> > Actually, I ever try Domain Administrator, it works fine.
>> > Thanks a lot.
>> >
>> > leslie
>> >
>> > "Dmitry Streblechenko" wrote:
>> >
>> >> Yes, as I mentioned before, you need to run under the user identity of
>> >> the
>> >> mailbox owner to avoid authentication prompts.
>> >>
>> >> Dmitry Streblechenko (MVP)
>> >> http://www.dimastr.com/
>> >> OutlookSpy  - Outlook, CDO
>> >> and MAPI Developer Tool
>> >>
>> >> "Leslie Xia"  wrote in message
>> >> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
>> >> >I have already set that, but still got problem.
>> >> > Actually, iy is nothing with my software, if I login windows with
>> >> > Account1, and run Outlook, try to connect exchange 2007 with 
>> >> > account2,
>> >> > always get popup logon box.
>> >> >
>> >> > leslie
>> >> >
>> >> > "Leslie Xia"  wrote in message
>> >> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
>> >> >>I create a service and run as MAPI client, main task is synchronize
>> >> >>voie
>> >> >>mail between our own voice mailbox and exchange mail box
>> >> >> In our implementation, we need create each prfile for each user and 
>> >> >> do
>> >> >> synchrnization one by one.
>> >> >>
>> >> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
>> >> >> OpenMsgStore() of IMAPISession
>> >> >>
>> >> >> The environment is ExchangeServer2007, client machine runs 
>> >> >> Outlook2007
>> >> >>
>> >> >> And, if I use Domain Administrator as service log on account, it 
>> >> >> works
>> >> >> file, if I change to another account( when install out software, we
>> >> >> create a new DoMain Admin account), it fails, even the user belong 
>> >> >> to
>> >> >> same groups as Administartor.
>> >> >>
>> >> >> Your comment will be appreciated.
>> >> >>
>> >> >> leslie
>> >> >>
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >>
>>
>>
>>
date: Thu, 20 Mar 2008 13:30:43 -0700   author:   Dmitry Streblechenko

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Is there any document about this? like privilege change or security change in 
exchange 2007?




"Dmitry Streblechenko" wrote:

> On the server level, yes - admin no longer has the right to open other 
> mailboxes by default, the right must be explicitly granted.
> 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> 
> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
> news:DEA93153-58A9-41E5-9940-72EC3AADCE02@microsoft.com...
> > Is there any difference between exchange 2003 and 2007 on previlege? since
> > our code works fine in 2003.
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Correct. If you need to acces other user's mailboxes, use
> >> IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore 
> >> if
> >> you need to opewn somebody's else mailbox, that will require fewer
> >> privileges.
> >>
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >>
> >> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message
> >> news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
> >> >
> >> > What means "you need to run under the user identity of the
> >> > mailbox owner to avoid authentication prompts"
> >> >
> >> > It only works when I login Windows as Account2 if I want to run outlook 
> >> > in
> >> > Account2, doesn't it?
> >> >
> >> > Actually, I ever try Domain Administrator, it works fine.
> >> > Thanks a lot.
> >> >
> >> > leslie
> >> >
> >> > "Dmitry Streblechenko" wrote:
> >> >
> >> >> Yes, as I mentioned before, you need to run under the user identity of
> >> >> the
> >> >> mailbox owner to avoid authentication prompts.
> >> >>
> >> >> Dmitry Streblechenko (MVP)
> >> >> http://www.dimastr.com/
> >> >> OutlookSpy  - Outlook, CDO
> >> >> and MAPI Developer Tool
> >> >>
> >> >> "Leslie Xia"  wrote in message
> >> >> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
> >> >> >I have already set that, but still got problem.
> >> >> > Actually, iy is nothing with my software, if I login windows with
> >> >> > Account1, and run Outlook, try to connect exchange 2007 with 
> >> >> > account2,
> >> >> > always get popup logon box.
> >> >> >
> >> >> > leslie
> >> >> >
> >> >> > "Leslie Xia"  wrote in message
> >> >> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
> >> >> >>I create a service and run as MAPI client, main task is synchronize
> >> >> >>voie
> >> >> >>mail between our own voice mailbox and exchange mail box
> >> >> >> In our implementation, we need create each prfile for each user and 
> >> >> >> do
> >> >> >> synchrnization one by one.
> >> >> >>
> >> >> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
> >> >> >> OpenMsgStore() of IMAPISession
> >> >> >>
> >> >> >> The environment is ExchangeServer2007, client machine runs 
> >> >> >> Outlook2007
> >> >> >>
> >> >> >> And, if I use Domain Administrator as service log on account, it 
> >> >> >> works
> >> >> >> file, if I change to another account( when install out software, we
> >> >> >> create a new DoMain Admin account), it fails, even the user belong 
> >> >> >> to
> >> >> >> same groups as Administartor.
> >> >> >>
> >> >> >> Your comment will be appreciated.
> >> >> >>
> >> >> >> leslie
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >>
> >>
> >> 
> 
> 
>
date: Thu, 20 Mar 2008 13:46:02 -0700   author:   Leslie Xia

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Another question is how to "the right must be explicitly granted"? I think I 
didi that.

Thanks. 

"Dmitry Streblechenko" wrote:

> On the server level, yes - admin no longer has the right to open other 
> mailboxes by default, the right must be explicitly granted.
> 
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
> 
> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
> news:DEA93153-58A9-41E5-9940-72EC3AADCE02@microsoft.com...
> > Is there any difference between exchange 2003 and 2007 on previlege? since
> > our code works fine in 2003.
> >
> > "Dmitry Streblechenko" wrote:
> >
> >> Correct. If you need to acces other user's mailboxes, use
> >> IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore 
> >> if
> >> you need to opewn somebody's else mailbox, that will require fewer
> >> privileges.
> >>
> >> Dmitry Streblechenko (MVP)
> >> http://www.dimastr.com/
> >> OutlookSpy  - Outlook, CDO
> >> and MAPI Developer Tool
> >>
> >> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message
> >> news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
> >> >
> >> > What means "you need to run under the user identity of the
> >> > mailbox owner to avoid authentication prompts"
> >> >
> >> > It only works when I login Windows as Account2 if I want to run outlook 
> >> > in
> >> > Account2, doesn't it?
> >> >
> >> > Actually, I ever try Domain Administrator, it works fine.
> >> > Thanks a lot.
> >> >
> >> > leslie
> >> >
> >> > "Dmitry Streblechenko" wrote:
> >> >
> >> >> Yes, as I mentioned before, you need to run under the user identity of
> >> >> the
> >> >> mailbox owner to avoid authentication prompts.
> >> >>
> >> >> Dmitry Streblechenko (MVP)
> >> >> http://www.dimastr.com/
> >> >> OutlookSpy  - Outlook, CDO
> >> >> and MAPI Developer Tool
> >> >>
> >> >> "Leslie Xia"  wrote in message
> >> >> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
> >> >> >I have already set that, but still got problem.
> >> >> > Actually, iy is nothing with my software, if I login windows with
> >> >> > Account1, and run Outlook, try to connect exchange 2007 with 
> >> >> > account2,
> >> >> > always get popup logon box.
> >> >> >
> >> >> > leslie
> >> >> >
> >> >> > "Leslie Xia"  wrote in message
> >> >> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
> >> >> >>I create a service and run as MAPI client, main task is synchronize
> >> >> >>voie
> >> >> >>mail between our own voice mailbox and exchange mail box
> >> >> >> In our implementation, we need create each prfile for each user and 
> >> >> >> do
> >> >> >> synchrnization one by one.
> >> >> >>
> >> >> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
> >> >> >> OpenMsgStore() of IMAPISession
> >> >> >>
> >> >> >> The environment is ExchangeServer2007, client machine runs 
> >> >> >> Outlook2007
> >> >> >>
> >> >> >> And, if I use Domain Administrator as service log on account, it 
> >> >> >> works
> >> >> >> file, if I change to another account( when install out software, we
> >> >> >> create a new DoMain Admin account), it fails, even the user belong 
> >> >> >> to
> >> >> >> same groups as Administartor.
> >> >> >>
> >> >> >> Your comment will be appreciated.
> >> >> >>
> >> >> >> leslie
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >>
> >>
> >>
> >> 
> 
> 
>
date: Thu, 20 Mar 2008 13:48:02 -0700   author:   Leslie Xia

Re: MAPI_E_FAILONEPROVIDER When invoke OpenMsgStore()   
Hi Dmitry 

I have fixed this problem after assign full access of mailbox1 to account2.
Thanks a lot.

leslie

"Leslie Xia" wrote:

> Another question is how to "the right must be explicitly granted"? I think I 
> didi that.
> 
> Thanks. 
> 
> "Dmitry Streblechenko" wrote:
> 
> > On the server level, yes - admin no longer has the right to open other 
> > mailboxes by default, the right must be explicitly granted.
> > 
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy  - Outlook, CDO
> > and MAPI Developer Tool
> > 
> > "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message 
> > news:DEA93153-58A9-41E5-9940-72EC3AADCE02@microsoft.com...
> > > Is there any difference between exchange 2003 and 2007 on previlege? since
> > > our code works fine in 2003.
> > >
> > > "Dmitry Streblechenko" wrote:
> > >
> > >> Correct. If you need to acces other user's mailboxes, use
> > >> IExchnageManageStore::CreateStoreEntryID and IMAPISession::OpenMsgStore 
> > >> if
> > >> you need to opewn somebody's else mailbox, that will require fewer
> > >> privileges.
> > >>
> > >> Dmitry Streblechenko (MVP)
> > >> http://www.dimastr.com/
> > >> OutlookSpy  - Outlook, CDO
> > >> and MAPI Developer Tool
> > >>
> > >> "Leslie Xia" <Leslie Xia@discussions.microsoft.com> wrote in message
> > >> news:7268B8FF-5092-4103-86E4-1EF186EE1389@microsoft.com...
> > >> >
> > >> > What means "you need to run under the user identity of the
> > >> > mailbox owner to avoid authentication prompts"
> > >> >
> > >> > It only works when I login Windows as Account2 if I want to run outlook 
> > >> > in
> > >> > Account2, doesn't it?
> > >> >
> > >> > Actually, I ever try Domain Administrator, it works fine.
> > >> > Thanks a lot.
> > >> >
> > >> > leslie
> > >> >
> > >> > "Dmitry Streblechenko" wrote:
> > >> >
> > >> >> Yes, as I mentioned before, you need to run under the user identity of
> > >> >> the
> > >> >> mailbox owner to avoid authentication prompts.
> > >> >>
> > >> >> Dmitry Streblechenko (MVP)
> > >> >> http://www.dimastr.com/
> > >> >> OutlookSpy  - Outlook, CDO
> > >> >> and MAPI Developer Tool
> > >> >>
> > >> >> "Leslie Xia"  wrote in message
> > >> >> news:%23EZ1l$hiIHA.3448@TK2MSFTNGP04.phx.gbl...
> > >> >> >I have already set that, but still got problem.
> > >> >> > Actually, iy is nothing with my software, if I login windows with
> > >> >> > Account1, and run Outlook, try to connect exchange 2007 with 
> > >> >> > account2,
> > >> >> > always get popup logon box.
> > >> >> >
> > >> >> > leslie
> > >> >> >
> > >> >> > "Leslie Xia"  wrote in message
> > >> >> > news:ulF91ZfiIHA.4140@TK2MSFTNGP04.phx.gbl...
> > >> >> >>I create a service and run as MAPI client, main task is synchronize
> > >> >> >>voie
> > >> >> >>mail between our own voice mailbox and exchange mail box
> > >> >> >> In our implementation, we need create each prfile for each user and 
> > >> >> >> do
> > >> >> >> synchrnization one by one.
> > >> >> >>
> > >> >> >> The problem is I always get MAPI_E_FAILONEPROVIDER when I invoke
> > >> >> >> OpenMsgStore() of IMAPISession
> > >> >> >>
> > >> >> >> The environment is ExchangeServer2007, client machine runs 
> > >> >> >> Outlook2007
> > >> >> >>
> > >> >> >> And, if I use Domain Administrator as service log on account, it 
> > >> >> >> works
> > >> >> >> file, if I change to another account( when install out software, we
> > >> >> >> create a new DoMain Admin account), it fails, even the user belong 
> > >> >> >> to
> > >> >> >> same groups as Administartor.
> > >> >> >>
> > >> >> >> Your comment will be appreciated.
> > >> >> >>
> > >> >> >> leslie
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >> >
> > >> >> >
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >> 
> > 
> > 
> >
date: Thu, 20 Mar 2008 15:48:01 -0700   author:   Leslie Xia

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us