Wednesday, April 3, 2013

How to replace underlying DLL for a custom field

Stay Tuned!

There are three component for a deployment of a field


  1. Put your .ascx @ rootdir:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES
  2. Replace your xml file with the newly created dll @ rootdir:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML
  3. Put your dll in the GAC @ rootdir:\WINDOWS\assembly  

SharePoint Large Lists and lookup column filters

The solution is to created a number field and create a workflow to copy over.

sharepoint 2010 lockManager: Error during locking Web. The Web is locked.

If you try to delete parent item of a child item, from child item's ItemDeleting Event receiver  you start hitting the performance and get the following error:

sharepoint 2010 lockManager: Error during locking Web. The Web is locked.

This scenario occurs if you have Enforce relationship behavior enabled in lookup column of the item getting deleted.

Solution

  • Either turn off the 
  • ItemDeleting  to ItemDeleted.