Vision
ItemCheckingIn event and %1!.512s!
March 23, 2007
Are you banging your head against the wall because whatever you seem to do, any code you add to the ItemCheckingIn event handler just results to the mysterious error message %1!.512s! ???
Stop banging, because Microsoft has confirmed this is an issue. There's a hot fix available right now via Microsoft Support, but it has not been released publicly yet because it's not gone through the full regression test cycle.
If you want to try out the bug for yourself, create an event handler that looks like the next code listing:
public override void ItemCheckingIn(SPItemEventProperties properties){
properties.ErrorMessage = "A custom error message";
properties.Cancel = true;
}
And here is the link to the Knowledge Base article that describes the hot fix in detail: Hotfix Package.