HOWTO Fix SharePoint 2010 Event Log Error 7043 TaxonomyPicker.ascx

UPDATED 2010-12-18: After some further Internet sleuthing it appears that the control “TaxonomyPicker.ascx” isn’t actually required – it was left in accidentally from release. When SharePoint websites start they automatically compile and cache controls in the “/_controltemplates” folder (default location is C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES), which includes the TaxonomyPicker.ascx control. The controls are checked against the SharePoint DLLs (Microsoft.SharePoint.Portal in particular), and thus the error that is raised is actually because the control entry does not exist in the SharePoint DLLs. Hence the event log is actually saying “I have an .ascx file that does not have a matching entry in the SharePoint DLLs”.

The (rather dramatic) fix is to rename (or deleted, though that is more drastic!) the taxonomypicker.ascx file to taxonomypicker.ascx.old (or something else relevant) so that SharePoint does not automatically try and load the file. Perform this task in a test environment first! Future service packs or hotfixes may fix this issue, but also it is likely that TaxonomyPicker.ascx could be automatically re-added as part of maintenance by a SharePoint hotfix/service pack, so you may need to repeat this process again at a later date if it isn’t fixed.

ORIGINAL POST: With thanks to Xiaofeng Wang (MVP) in this post, the event log error details are: “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’.”
This is due to a bug in the ASP.NET control file definition within SharePoint 2010.
To fix this issue:

  1. Go to :\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\CONTROLTEMPLATES
  2. Open TaxonomyPicker.ascx in any text editor (such as Notepad)
  3. Locate the following line :
    <%@ Control className=”TaxonomyPickerControl” Inherits=”Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker,Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>
  4. Replace ‘,’ with a comma i.e. ‘,’ , the correct line should look like:
    <%@ Control className=”TaxonomyPickerControl” Inherits=”Microsoft.SharePoint.Portal.WebControls.TaxonomyPicker,  Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” %>
  5. Save the file
About these ads

13 Responses to “HOWTO Fix SharePoint 2010 Event Log Error 7043 TaxonomyPicker.ascx”

  1. Nancy Drew Says:

    Wrong! The error persists because the .TaxonomyPicker is not even in the bloody class!

    • gavinmckay Says:

      Hi yes that is correct, the class is not in the assembly. That’s what it says on the blog post. The original post was updated quite a while ago to reflect that. I am hoping it might be fixed in SharePoint 2010 SP1 due out in a couple of weeks.

  2. Laurent Cotton Says:

    You can find explination of how to really correct the problem here (in french) : http://laurentcotton.wordpress.com/2011/06/15/sharepoint-2010-comment-corriger-lerreur-7043-taxonomypicker-une-bonne-fois-pour-toute/

  3. SharePoint 2010 and TFS 2010 Integration Checklist | headcrash industries | blog Says:

    [...] see: Fix SharePoint 2010 Event Log Error 7043 TaxonomyPicker.ascx [...]

  4. [SharePoint 2010] Error 7043: Load control template file /_controltemplates/TaxonomyPicker.ascx failed | John Chapman's Blog :: SharePoint, jQuery, ASP.NET, C#, SQL Says:

    [...] 2011-07-08: According to this article, the referenced control no longer exists in the SharePoint DLLs and should simply be removed. To be [...]

  5. Zoltan Canda Says:

    Hello, renaming the file TaxonomyPicker.ascx to different name fixed the error. Thank you.

  6. Lorenzo Soncini Says:

    I have the error but I don’t have ‘&#44′ in the file
    Also the point 3 and 4 in the article report exactly the same row.

    Bye,
    Lorenzo

    • gavinmckay Says:

      Hi Lorenzo,
      The other option is to just rename the file to something else i.e. TaxonomyPicker.ascx rename to TaxonomyPicker.ascx.invalid. Without the “ascx” on the end of the file, SharePoint will ignore the file.
      Regards,
      Gavin.

    • gavinmckay Says:

      …and thankyou for noticing point 3/4 were the same! I’ve updated line 3. :)

  7. [SharePoint 2010] Error 7043: Load control template file /_controltemplates/TaxonomyPicker.ascx failed « SharePoint John Says:

    [...] Until Microsoft fixes it, this workaround resolves the issue.Update 2011-07-08: According to this article, the referenced control no longer exists in the SharePoint DLLs and should simply be removed. To be [...]

  8. Seve Says:

    Hi All,

    Sorry but have you guys read Laurent’s article?

    He is stating that replacing that erronous line is resolving the issue:

    http://laurentcotton.wordpress.com/2011/06/15/sharepoint-2010-comment-corriger-lerreur-7043-taxonomypicker-une-bonne-fois-pour-toute/

    As it seems that sharepoint team may have simply declare the wrong dll and the wrong control.

    Which might indicate that the file is being use somewhere in SP2010.

    Anyway I agree that the next hot fix might help implement a permanent fix.

    Cheers,
    Seve

  9. Seve Says:

    Sorry but dont know why the code does not show up!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: