Feature install and activation issues.

Oct 20, 2011 at 3:18 PM

1) After installation, feature is does not appear in  Central Administration -> Site Settings -> Site Collection features (under Site Collection Administration category)

2) The feature does display in the sites, but an error occurs during activation, with the corresponding error in the SP log:

10/20/2011 11:04:35.39 w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         Topology                       8dyu High     The SPPersistedObject, SharePointFarmInfoTimerJob Name=SPFarmInfoTimerJob, could not be updated because the current user is not a Farm Administrator. e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41 w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         Feature Infrastructure         88jm High     Feature receiver assembly 'SharePointFarmInfoTimerJob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=24899278d4c23296', class 'SharePointFarmInfoTimerJob.Features.SharePointFarmInfoTimerJob_Feature.SharePointFarmInfoTimerJob_FeatureEventReceiver', method 'FeatureActivated' for feature 'f5bdb83d-a43e-435a-8e3b-73083421b6e5' threw an exception: System.Security.SecurityException: Access denied.     at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.SharePoint.Administration.SPJobDefinition.Update()     at SharePointFarmInfoTimerJob.Features.SharePointFarmInfoTimerJob_Feature.SharePointFarmInfoTimerJob_FeatureEventReceiver.FeatureActivated(SPFeatureReceiverProperties properties)     at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, ... e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41* w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         Feature Infrastructure         88jm High     ...Boolean fForce)  The Zone of the assembly that failed was:  MyComputer e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41 w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         General                       72by High     Feature Activation: Threw an exception, attempting to roll back.  Feature 'SharePointFarmInfoTimerJob_Feature' (ID: 'f5bdb83d-a43e-435a-8e3b-73083421b6e5').  Exception: System.Security.SecurityException: Access denied.     at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.SharePoint.Administration.SPJobDefinition.Update()     at SharePointFarmInfoTimerJob.Features.SharePointFarmInfoTimerJob_Feature.SharePointFarmInfoTimerJob_FeatureEventReceiver.FeatureActivated(SPFeatureReceiverProperties properties)     at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)  The Zone of the assembly tha... e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41* w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         General                       72by High     ...t failed was:  MyComputer e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41 w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         Monitoring                     b4ly High     Leaving Monitored Scope (Feature Activation: Activating Feature 'SharePointFarmInfoTimerJob_Feature' (ID: 'f5bdb83d-a43e-435a-8e3b-73083421b6e5') at URL http://sharepoint-beta.). Execution Time=135.278645749669 e58dd5f2-b594-495e-ad10-5e375939cd4510/20/2011 11:04:35.41 w3wp.exe (0x05A4)                       0x04A4 SharePoint Foundation         Runtime                       6615 Critical Access denied. e58dd5f2-b594-495e-ad10-5e375939cd45

Nov 28, 2011 at 11:49 AM

Answer:

https://plus.google.com/109423462029200221494/posts/hxS1LD6Aa3a

Dec 2, 2011 at 12:20 PM

It did not help me.

Access denied - again and again.

What to do?

Jan 10, 2012 at 6:31 PM

I just tried it on my DEV farm and got the same error. I'm activating it on the site collection through the browser using my farm account. I don't know what it's trying to do or what account it's trying to use but it is happening in the Feature Activated event.

Feature receiver assembly 'SharePointFarmInfoTimerJob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=24899278d4c23296', class 'SharePointFarmInfoTimerJob.Features.SharePointFarmInfoTimerJob_Feature.SharePointFarmInfoTimerJob_FeatureEventReceiver', method 'FeatureActivated' for feature 'f5bdb83d-a43e-435a-8e3b-73083421b6e5' threw an exception: System.Security.SecurityException: Access denied.   
 at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()   
 at Microsoft.SharePoint.Administration.SPJobDefinition.Update()   
 at SharePointFarmInfoTimerJob.Features.SharePointFarmInfoTimerJob_Feature.SharePointFarmInfoTimerJob_FeatureEventReceiver.FeatureActivated(SPFeatureReceiverProperties properties)   
 at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)  The Zone of the assembly that failed was:  MyComputer

Will try to activate it via PowerShell on the server using the farm account.