Loading...

Unable activate Quest Web Parts feature in Site Settings: “Requested registry access is not allow

Title

Unable activate Quest Web Parts feature in Site Settings: “Requested registry access is not allow

Description

Please wait...

Unable activate Quest Web Parts feature in Site Settings. Seeing the follwoing error in ULS logs:
Feature receiver assembly ‘QuestWebPartsFeature, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b4b09f1c57c8f0b’, class ‘Quest.WebParts.Feature.FeatureReceiver’, method ‘FeatureActivated’ for feature ‘11730bed-af16-4fd0-985b-3ffa4792928f’ threw an exception: System.TypeInitializationException: The type initializer for ‘Quest.WebParts.Feature.FeatureLogger’ threw an exception. —> System.Security.SecurityException: Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at System.Diagnostics.EventLog.GetEventLogRegKey(String machine, Boolean writable) at System.Diagnostics.EventLog.Delete(String logName, String machineName) at Quest.WebParts.Feature.FeatureLogger..cctor() The Zone of the assembly that failed was: MyComputer — End of inner exception stack trace — at Quest.WebParts.Feature.FeatureLogger.Error(String message) at Quest.WebParts.Feature.FeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce) fffc4665-415f-4b83-a7bd-33ecc976d545

Resolution

Try to activate web parts from Management Page in Central Admin:

1. Go to Central Admin general Application Settings

2. Open one of the following:

Manage Web Parts by Web application

Manage Web Parts by Site collection

Manage Web Parts by multiple Site collections

3. Select web application/site collection(s) where you want to activate web parts amd check web parts you want to activate.

4. Click OK.

Leave a Reply