Wednesday, June 30, 2010

Operations could destabilize the runtime

Just now my next seat developer faced this problem.

Exception Details: System.Security.VerificationException: Operation could destabilize the runtime.

The error was in cute editor control.

Few clicks and we found the cause i.e. Elimination of some IL in .net 2.0 from v1.1. Specifically for switch cases

The solution was simple. we just updated cute editor dll to .net 2.0.

Sunday, June 27, 2010

Display " Append Changes to Existing Text " to Custom List Form

It took quite some time but finally i found the solution at Ben's blog.
It was actually very simple. Just remove the

xsl:value-of select="@field_having_append_changes_enable"

to

SharePoint:AppendOnlyHistory runat="server" FieldName="field_having_append_changes_enable" ControlMode="Display"

:-)