SharePoint 2010 >> Taxonomy Picker.ascx Failed Error
On SharePoint 2010 you will run into the following error :
Log Name : Application
Source : Microsoft-SharePoint Products-SharePoint Foundation
Date : 9/27/2010
Event ID : 7043
Task Category : Web Controls
Level : Error
Keywords :
User : MSS\SPFARM
Computer : MOSSSERVER
Description :
Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type 'Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker' from assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'.
Here's how it looks it in the Application logs
Cause
The file drive:\Program Files\Common Files\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES\TaxonomyPicker.ascx is badly formed and doesn't compile.
Solution
You can change the bad syntax of the file as follows
- Navigate to /14/ControlTemplates/TaxonomyPicker.ascx user control
- Open the user control in a text editor and locate the first line
- Find the character string , and replace with a comma ‘,’ (without quotes).
- Save the user control.
UPDATE
Sometimes, the error does not go away even after following the steps listed above. In such cases, the fix is to rename the 'TaxonomyPicker.ascx' to something like 'TaxonomyPicker.ascx_broken' so that we do not try to recompile it each time the AppPool is started. The user control is never used within SharePoint and therefore serves no real purpose.