I am getting a SecurityException while trying to activate a feature with a custom timer job. The error is raised from the job.Update() method call. I am running the code with Farm Admin account.
Do you have any idea?
|
I am getting a SecurityException while trying to activate a feature with a custom timer job. The error is raised from the job.Update() method call. I am running the code with Farm Admin account. Do you have any idea? |
|||||
|
|
This thread for you. Your application pool identity will not have the appropriate rights. This thread contains full information how to resolve this issue. |
|||||
|
|
Try to override the SPPersistedObject.HasAdditionalUpdateAccess() method and return true.
|
||||
|
|