 |
|
|
|
| Author |
Message |
shivaraj
Joined: 05 Aug 2007 Posts: 20
|
Posted: Fri Oct 26, 2007 8:18 am Post subject: 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
Archived from group: microsoft>public>exchange>applications |
|
| Back to top |
|
 |
Dgoldman [MSFT]
Joined: 05 Aug 2007 Posts: 45
|
Posted: Sun Oct 28, 2007 1:55 am Post subject: 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 @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
> |
|
| Back to top |
|
 |
shivaraj
Joined: 05 Aug 2007 Posts: 20
|
Posted: Mon Nov 05, 2007 5:50 am Post subject: 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
>
> @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 - |
|
| Back to top |
|
 |
shivaraj
Joined: 05 Aug 2007 Posts: 20
|
Posted: Mon Nov 05, 2007 6:13 am Post subject: 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
>
> @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 - |
|
| Back to top |
|
 |
John Fullbright
Joined: 05 Aug 2007 Posts: 365
|
Posted: Wed Nov 07, 2007 3:38 pm Post subject: 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 @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
>>
>> @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 -
>
> |
|
| Back to top |
|
 |
Dgoldman [MSFT]
Joined: 05 Aug 2007 Posts: 45
|
Posted: Tue Nov 13, 2007 5:25 am Post subject: 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" 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
> @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
>>>
>>> @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 -
>>
>>
>
>
|
|
| Back to top |
|
 |
|
|
| Related Topics: | HR: 8004011d error during HrOpenExchangePrivateStore call in Hi All, Somehow my last posting did not appear !!! So here with i am posting it one more time... I am having 2 exchange 2007 setups on x64 platform. I am trying to get mailbox info using MAPI. Since its exchange 2007, I downloaded and installed "ExchangeM
GetMailboxTable Hi all, I am getting a MAPI error 0x80070057 error calling after I have Office 2003 installed. MS Office XP used to have problem with this method and they fixed it in OXP SP1. The code worked with every other version of Offi
query on MAPI "GetMsgStoresTable" call... Hi, I have some doubts wrt MAPI call. I already posted a similer query but this is in general. Please help me in understanding this concept. 1. If I create a profile on Administrator mailbox account and use this session for "GetMsgStor
E_Fail during Session.GetAddressList funciton call Hello Im trying to get email addresses out of the global address list and write them out to a web page. I am using Exchange 5.5. This is a asp.net application running on an XP machine. It uses version 1.21 of MS CDO. The code is as follows: Dim strProfi
error Task Info. 308 system mail Task 'SETTASK' update error! Return code 0x20 Does anyone know what this error is. Also it came from a SpntLog. Thanks |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|