Exception on ContentRatingFeatureFarm activation

Jan 23, 2009 at 9:13 AM
Edited Jan 23, 2009 at 9:14 AM
Hi,
I'm currently installing the December release of PKS and till now everything worked fine after detecting that PKS runs only on English collaboration sites. But now I'm stuck at the configuration where I have to activate the ContentRatingFeatureFarm  farm feature. After activating the the feature following exception is thrown:

Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.   bei Microsoft.MSIT.Ratings.Utility.<>c__DisplayClass1.<Log>b__0()
   bei Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
   bei Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   bei Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   bei Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   bei Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   bei Microsoft.MSIT.Ratings.Utility.Log(EventLogEntryType eventLogType, String msg)
   bei Microsoft.MSIT.Ratings.Web.ContentRatingFeatureReceiverFarm.FeatureActivated(SPFeatureReceiverProperties properties)
   bei Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)
   bei Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, Boolean fForce)
   bei Microsoft.SharePoint.SPAdminFeatureCollection.Add(Guid featid, SPFeaturePropertyCollection props, Boolean fForce)
   bei Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly)
   bei Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)
   bei Microsoft.SharePoint.WebControls.FeatureActivator.BtnActivateFeature_Click(Object objSender, EventArgs evtargs)
   bei System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   bei System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   bei System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   bei System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   bei System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

As you can see, I'm running a German MOSS 2007 with the English language pack. So I will translate the first line of the exception: "The object reference was not set to an object instance."
After the excpetion occures I switched to the "View all site content" page. There I could see that the "Content Rating Store Configuration Settings" list was created but empty.

Could it be a problem that I use a  German MOSS installation?

I hope someone might be able to help me solving this problem.

Bye,
Flo





Jan 23, 2009 at 10:42 AM
Hello Flo,

I've not deployed this to a German MOSS site.  I would suggest that you review your "ssm.log" file to see if  any errors ocurred during setup.  If the log file is without errors, you may want to uninstall from your current site collection; create a new site collection and attempt installing to the new one (see http://www.codeplex.com/pks/Thread/View.aspx?ThreadId=44105).

Good luck,

Guy
Jan 23, 2009 at 12:00 PM
Hi guyleejr,

the PKS setup went fine, I didn't get a single error. I installed PKS to a totally fresh new out of the box collaboration site, so I think reinstalling won't solve the problem. But thank you for your response anyway.

Bye,
Flo
Jan 26, 2009 at 8:40 AM
I've still got problems with the ContentRatingFeatureFarm activation meanwhile I looked into the LOG files and found following details about the problem:

w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       Topology                          8xqz    Medium      Updating SPPersistedObject SPAdminFeature Name=Feature/d69c8ed6-ab88-43df-b43f-2e9de3855ee5/00000000-0000-0000-0000-000000000000 Parent=SPWebService. Version: -1 Ensure: 0, HashCode: 33189039, Id: c4cc08ef-2455-4759-83be-92e18e999766, Stack:    bei Microsoft.SharePoint.Administration.SPPersistedObject.Update()     bei Microsoft.SharePoint.Administration.SPPersistedObject.Update(Boolean ensure)     bei Microsoft.SharePoint.Administration.SPPersistedChildCollection`1.Add(T newObj, Boolean ensure)     bei Microsoft.SharePoint.Administration.SPPersistedChildCollection`1.Add(T newObj)     bei Microsoft.SharePoint.SPAdminFeatureCollection.Add(Guid featid, SPFeaturePropertyCollection props, Boolean fForce)     bei Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, SPFeaturePrope...    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       Topology                          8xqz    Medium      ...rtyCollection properties, Boolean force, Boolean fMarkOnly)     bei Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId)     bei Microsoft.SharePoint.WebControls.FeatureActivator.BtnActivateFeature_Click(Object objSender, EventArgs evtargs)     bei System.Web.UI.WebControls.Button.OnClick(EventArgs e)     bei System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     bei System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)     bei System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     bei System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)     bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAf...    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       Topology                          8xqz    Medium      ...terAsyncPoint)     bei System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     bei System.Web.UI.Page.ProcessRequest()     bei System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     bei System.Web.UI.Page.ProcessRequest(HttpContext context)     bei ASP._admin_managefarmfeatures_aspx.ProcessRequest(HttpContext context)     bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     bei System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)     bei System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, ...    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       Topology                          8xqz    Medium      ...AsyncCallback cb, Object extraData)     bei System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)     bei System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)     bei System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)      
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           88jb    Medium      Feature Activation: Activating Feature 'ContentRatingFeatureFarm' (ID: 'd69c8ed6-ab88-43df-b43f-2e9de3855ee5').    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           75fb    Medium      Calling 'FeatureActivated' method of SPFeatureReceiver for Feature 'ContentRatingFeatureFarm' (ID: 'd69c8ed6-ab88-43df-b43f-2e9de3855ee5').    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       Fields                            88yf    Medium      Creating list "Content Rating Store Configuration Settings" in web "http://wssdev06:12966" at URL "Lists/", (setuppath: "C:\Programme\Gemeinsame Dateien\Microsoft Shared\Web Server Extensions\12\Template\Features\CustomList\custlist")    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           72kc    Medium      Failed to find generic XML file at "C:\Programme\Gemeinsame Dateien\Microsoft Shared\Web Server Extensions\12\Template\xml\onet.xml", falling back to global site definition.    
w3wp.exe (0x02FC)                           0x1400    SharePoint Portal Server          Runtime                           8gp7    Medium      Topology cache updated. (AppDomain: /LM/W3SVC/478938111/Root-1-128773775744995000)    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           6y1a    Medium      Creating reg key "SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\All Ports"    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           72nz    Medium      Videntityinfo::isFreshToken reported failure.    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           8e25    Medium      Failed to look up string with key "DistributionLists_Alias", keyfile core.    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           8l3c    Medium      Localized resource for token 'DistributionLists_Alias' could not be found for file with path: "C:\Programme\Gemeinsame Dateien\Microsoft Shared\Web Server Extensions\12\Template\xml\base.xml".    
w3wp.exe (0x147C)                           0x1528    Office Server                     Office Server General             81vt    High        Source: SPP Ratings.  Information.  Rating environment failed to initialize.  Der angegebene Schlüssel war nicht im Wörterbuch angegeben..  Stack trace:    bei System.ThrowHelper.ThrowKeyNotFoundException()     bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)     bei Microsoft.MSIT.Ratings.Store.RatingStoreEnvironment..ctor()     bei Microsoft.MSIT.Ratings.Utility.Init()    
w3wp.exe (0x147C)                           0x1528    Office Server                     Office Server General             81vt    High        Source: SPP Ratings.  Information.  EVENT FAILURE IN FARM    
w3wp.exe (0x147C)                           0x1528    Windows SharePoint Services       General                           75f8    Medium      Feature Activation: Feature 'ContentRatingFeatureFarm' (ID: 'd69c8ed6-ab88-43df-b43f-2e9de3855ee5') was activated.   


I think the lines marked bold seems to be the cause for the problem.  For your understanding; the sentence  "Der angegebene Schlüssel war nicht im Wörterbuch angegeben" means that given key was not declared within the dictionary.