Thursday, July 4, 2013

Access denied error while trying to activate a feature with timer job at site collection level

As explained at http://social.msdn.microsoft.com/Forums/sharepoint/en-US/fd1edf17-ffb4-4486-9fc4-8314d632c6ff/timer-job-access-denied-error
Add a function on the .cs file of timer job.
 protected override bool HasAdditionalUpdateAccess()
 {
            return true;
 }

No comments:

Regex Email validation in c# dot net core

 Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...