Wednesday, March 6, 2013

Fix Event ID# 7043 Load control template file /_controltemplates/TaxonomyPicker.ascx failed: Could not load type

This is an error that's a little misleading. At first it might seem that the file is missing or that there is a permissions issue, but that's not the case. The problem is that there is a bad charater in the template file.

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Foundation
Date:          3/6/2013 1:07:44 PM
Event ID:      7043
Task Category: Web Controls
Level:         Error
Keywords:     
User:          DOMAIN\farm-admin
Computer:      sharepoint-server.domain.local

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=71e4bce131e9439c'.

Event Xml:

  <System>
    <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6fb3e0cd-51e7-47ed-897a-241364937fc2}" />
    <EventID>7043</EventID>
    <Version>14</Version>
    <Level>2</Level>
    <Task>15</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2013-03-06T19:07:44.430Z" />
    <EventRecordID>143232</EventRecordID>
    <Correlation ActivityID="{EB866783-7CC2-4A8F-849D-D9551A56B66A}" />
    <Execution ProcessID="1508" ThreadID="6256" />
    <Channel>Application</Channel>
    <Computer>sharepoint-server.domain.local</Computer>
    <Security UserID="S-1-5-21-etc." />
  </System>
  <EventData>
    <Data Name="string0">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'.</Data>
  </EventData>
</Event>


To fix this, open up C:\Program Files\Common Files\ Microsoft Shared\Web Server Extensions\14\TEMPLATE\ControlTemplates\TaxonomyPicker.ascx in notepad. Search for &#44 and replace it with a comma. Then save the file and do an iisreset. Problem solved.