Thursday, 28 February 2013

Cannot Convert Type

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

This error mostly happens when you trying to edit the master page of site in SharePoint.

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.

 

No comments:

Post a Comment

Rescan Disk Option Greyed Out | New Disks Not visible on Disk management | Update-HostStorageCache

  Recently I have added several LUN from NetApp Storage to Hyper-V servers. But in the disk management I couldn't see those new LUN. Exi...