This project is read-only.
1
Vote

Error reading farm property bag

description

Hi,

I have the latest SharePoint Server 2013 updates (March 2013, April 2013 and June 2013 updates) and I can't access farm property bag section. This is the exception from ULS logs:

Application error when access /_admin/pbs2013/PropertyBagSettings.aspx, Error=Object reference not set to an instance of an object. at Havivi.PropertyBagSettings.PropertyBagSettings.BuildPropertyTable(Hashtable properties) at Havivi.PropertyBagSettings.PropertyBagSettings.<>c__DisplayClass6.<ViewPropertyBag>b__5() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Havivi.PropertyBagSettings.PropertyBagSettings.ViewPropertyBag(String scope) at... b687399c-e5fe-603f-1bfa-7dbceb4f5bca
08/16/2013 01:47:12.56* w3wp.exe (0x346C) 0x363C SharePoint Foundation General 8nca Medium ... Havivi.PropertyBagSettings.PropertyBagSettings.btnFarm_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b687399c-e5fe-603f-1bfa-7dbceb4f5bca
08/16/2013 01:47:12.58 w3wp.exe (0x346C) 0x363C SharePoint Foundation Runtime tkau Unexpected System.NullReferenceException: Object reference not set to an instance of an object. at Havivi.PropertyBagSettings.PropertyBagSettings.BuildPropertyTable(Hashtable properties) at Havivi.PropertyBagSettings.PropertyBagSettings.<>c__DisplayClass6.<ViewPropertyBag>b__5() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at Havivi.PropertyBagSettings.PropertyBagSettings.ViewPropertyBag(String scope) at Havivi.PropertyBagSettings.PropertyBagSetting... b687399c-e5fe-603f-1bfa-7dbceb4f5bca

I can access other property bags, for web application, site collection etc ... Can you help me with this?

Thanks

comments

WendyA wrote Sep 4, 2013 at 11:21 PM

We are getting the same error at the farm level, but can access the other settings.

It appears to work on our dev farm, which has all services on one computer, but not on our test farm with an app server and a web server.

WendyA wrote Sep 4, 2013 at 11:33 PM

Another difference is that our test servers have additional farm property bags installed that have xml in the values. I'm wondering if there is a character that is not getting escaped.

<?xml version="1.0" encoding="utf-16"?>...