Cannot convert type ‘Microsoft.SharePoint.WebControls.DelegateControl’ to ‘System.Web.UI.IAttributeAccessor’

Posted: October 22, 2010 in Errors, Sharepoint Designer

Cannot convert type ‘Microsoft.SharePoint.WebControls.DelegateControl’ to ‘System.Web.UI.IAttributeAccessor’

This error mostly happens when you try to edit the master page.

To fix it

  • open the master page in notepad
  • You’ll see a big chunk of html code that is commented out.
  • Mostly this will be at the end of the page after </html> tag.
  • Delete that chunk of data. The master page will work properly again.

Now check your page in browser which is error free.

Advertisements
Comments
  1. hasan says:

    Can you explore more,its not working

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