Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 26 Oct 2007 04:18:22 -0700,    group: microsoft.public.exchange.applications        back       


Error code 80070005 at "GetMailboxTable" call...   
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
date: Fri, 26 Oct 2007 04:18:22 -0700   author:   shivaraj

Re: Error code 80070005 at "GetMailboxTable" call...   
The account you are using need to have admin access to the information 
store.

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.

Dgoldman
http://blogs.msdn.com/dgoldman
Download OABInteg 
(http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A2338E73-F521-4071-9B1D-AAF49C346ACD)


"shivaraj"  wrote in message 
news:1193397502.539333.319470@v29g2000prd.googlegroups.com...
> 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
>
date: Sat, 27 Oct 2007 21:55:10 -0400   author:   Dgoldman [MSFT]

Re: Error code 80070005 at "GetMailboxTable" call...   
Hi Dgoldman,
Thanks for your suggestions. In my view if a user is part of "Domain
Admin" then he will get admin access to the information store.  Am I
right? if not how should I give admin access to this user? ( do i need
to make him part of any specific group? )
Regards,
Shivaraj

On Oct 28, 6:55 am, "Dgoldman [MSFT]"  wrote:
> The account you are using need to have admin access to the information
> store.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Dgoldmanhttp://blogs.msdn.com/dgoldman
> Download OABInteg
> (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A...)
>
> "shivaraj"  wrote in message
>
> news:1193397502.539333.319470@v29g2000prd.googlegroups.com...
>
>
>
> > 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- Hide quoted text -
>
> - Show quoted text -
date: Mon, 05 Nov 2007 00:50:19 -0800   author:   shivaraj

Re: Error code 80070005 at "GetMailboxTable" call...   
Hi Dgoldman,
http://technet.microsoft.com/en-us/library/aa996940.aspx
from this link what I felt is Exchnage View only permissions should be
enough to connect to stores. So in my view if I deligate Exchange View
Only permissions to the account, then it should be able to connect to
private/public store and collect required info. Is that correct ?
Since in my case with this role also its not connecting to store is
there a different way I can mention admin privilages to connect to
stores?
Regards,
Shivaraj

On Oct 28, 6:55 am, "Dgoldman [MSFT]"  wrote:
> The account you are using need to have admin access to the information
> store.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> Dgoldmanhttp://blogs.msdn.com/dgoldman
> Download OABInteg
> (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A...)
>
> "shivaraj"  wrote in message
>
> news:1193397502.539333.319470@v29g2000prd.googlegroups.com...
>
>
>
> > 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- Hide quoted text -
>
> - Show quoted text -
date: Mon, 05 Nov 2007 01:13:38 -0800   author:   shivaraj

Re: Error code 80070005 at "GetMailboxTable" call...   
It should work with exchange view only admin.  You do not need domain admin 
permissions.


"shivaraj"  wrote in message 
news:1194254018.757370.263220@t8g2000prg.googlegroups.com...
> Hi Dgoldman,
> http://technet.microsoft.com/en-us/library/aa996940.aspx
> from this link what I felt is Exchnage View only permissions should be
> enough to connect to stores. So in my view if I deligate Exchange View
> Only permissions to the account, then it should be able to connect to
> private/public store and collect required info. Is that correct ?
> Since in my case with this role also its not connecting to store is
> there a different way I can mention admin privilages to connect to
> stores?
> Regards,
> Shivaraj
>
> On Oct 28, 6:55 am, "Dgoldman [MSFT]"  wrote:
>> The account you are using need to have admin access to the information
>> store.
>>
>> --
>> This posting is provided "AS IS" with no warranties, and confers no 
>> rights.
>>
>> Dgoldmanhttp://blogs.msdn.com/dgoldman
>> Download OABInteg
>> (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A...)
>>
>> "shivaraj"  wrote in message
>>
>> news:1193397502.539333.319470@v29g2000prd.googlegroups.com...
>>
>>
>>
>> > 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- Hide quoted text -
>>
>> - Show quoted text -
>
>
date: Wed, 7 Nov 2007 10:38:30 -0800   author:   John Fullbright fjohn@donotspamnetappdotcom

Re: Error code 80070005 at "GetMailboxTable" call...   
You do not have sufficient access. Your error code with the permissions you 
are using is access denied.

C:\WINDOWS\system32>err 80070005
# for hex 0x80070005 / decimal -2147024891
  COR_E_UNAUTHORIZEDACCESS                                       corerror.h
# MessageText:
# Access is denied.
  ecAccessDenied                                                 ec.h
  MAPI_E_NO_ACCESS                                               mapicode.h
  E_ACCESSDENIED                                                 winerror.h
# General access denied error
# as an HRESULT: Severity: FAILURE (1), FACILITY_WIN32 (0x7), Code 0x5
# for hex 0x5 / decimal 5
  ERROR_ACCESS_DENIED                                            winerror.h
# Access is denied.

-- 
This posting is provided "AS IS" with no warranties, and confers no rights.

Dgoldman
http://blogs.msdn.com/dgoldman
Download OABInteg 
(http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A2338E73-F521-4071-9B1D-AAF49C346ACD)


"John Fullbright" <fjohn@donotspamnetappdotcom> wrote in message 
news:%23j4%23k1WIIHA.1316@TK2MSFTNGP02.phx.gbl...
> It should work with exchange view only admin.  You do not need domain 
> admin permissions.
>
>
> "shivaraj"  wrote in message 
> news:1194254018.757370.263220@t8g2000prg.googlegroups.com...
>> Hi Dgoldman,
>> http://technet.microsoft.com/en-us/library/aa996940.aspx
>> from this link what I felt is Exchnage View only permissions should be
>> enough to connect to stores. So in my view if I deligate Exchange View
>> Only permissions to the account, then it should be able to connect to
>> private/public store and collect required info. Is that correct ?
>> Since in my case with this role also its not connecting to store is
>> there a different way I can mention admin privilages to connect to
>> stores?
>> Regards,
>> Shivaraj
>>
>> On Oct 28, 6:55 am, "Dgoldman [MSFT]"  wrote:
>>> The account you are using need to have admin access to the information
>>> store.
>>>
>>> --
>>> This posting is provided "AS IS" with no warranties, and confers no 
>>> rights.
>>>
>>> Dgoldmanhttp://blogs.msdn.com/dgoldman
>>> Download OABInteg
>>> (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A...)
>>>
>>> "shivaraj"  wrote in message
>>>
>>> news:1193397502.539333.319470@v29g2000prd.googlegroups.com...
>>>
>>>
>>>
>>> > 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- Hide quoted text -
>>>
>>> - Show quoted text -
>>
>>
>
>
date: Tue, 13 Nov 2007 00:25:58 -0500   author:   Dgoldman [MSFT]

Google
 
Web ureader.com


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