Re: E2k7 eventsink identity prerequisits?
- From: "Glen Scales [MVP]" <gscales@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 4 Jan 2007 14:26:55 +1100
You need to be careful if a user has been assigned admin rights they will be
denied access to any other account other then there own so don't use the
admin user to debug and make sure you Myserviceaccount user has been given
admin rights. I would also check the security tab of the Com+ component and
make sure that the "Enforce Access Checks for this application" isn't ticked
which could cause some of the problems your describing. You should be able
to test the user rights assignment by trying to connect to the mailbox you
want to create the eventsink on with Outlook. If you can create a Outlook
profile and access this mailbox with your ServiceUser then that account
should have enough rights.
Cheers
Glen
"John" <no@xxxxxxxx> wrote in message
news:u87W5t3LHHA.5104@xxxxxxxxxxxxxxxxxxxxxxx
Hi
After hours/days of trying I get to the point that my application (store
eventsink / com+) starts working a little bit on e2k7. (YES!)
I had a lot of trouble to find out what needs to be done in the command
shell to give the com+ identity sufficient permissions. I think the
following did it.
Get-mailboxserver | add-adpermission -user MyServiceAccount -accessrights
GenericRead, GenericWrite -extendedrights Send-As, Receive-As,
ms-Exch-Store-Admin
Get-mailboxserver | Add-MailboxPermission -user
MyServiceAccount -accessrights FullAccess
It now looks like that account has the correct permissions but it still
only works when debugging! (logged on to the server with the same
MyServiceAccount as the com+ identity)
The compiled dll, called from the eventsink, errors out (access denied) at
the moment that the code wants to open a datasource using the url to the
item.
I think this is weird. because the code in debug mode works perfectly fine
while it runs with the same account as the compiled dll in the com+
package.
I CAN get the error to appear in the debugger as well when I run it as the
standard administrator so that's why I assume that there is some (more)
special permission needed for the com+ identity...
I hope anybody (Glenn are you there??) understands more of the exact
permissions needed and is willing to reply.
Thanks!
.
- Follow-Ups:
- Re: E2k7 eventsink identity prerequisits?
- From: John
- Re: E2k7 eventsink identity prerequisits?
- References:
- E2k7 eventsink identity prerequisits?
- From: John
- E2k7 eventsink identity prerequisits?
- Prev by Date: Re: Exchange_Mailbox Class and VB.Net 2005
- Next by Date: Re: E2k7 eventsink identity prerequisits?
- Previous by thread: E2k7 eventsink identity prerequisits?
- Next by thread: Re: E2k7 eventsink identity prerequisits?
- Index(es):
Relevant Pages
|