Invalid security validation exception inside a SharePoint workflow
- by Dan Revell
I'm having a strange security problem with a SharePoint workflow. Particular calls seem to result in the following exception:
Microsoft.SharePoint.SPException: The
security validation for this page is
invalid.
I've come across this error before and the simple fix is
web.AllowUnsafeUpdates = true;
...
web.AllowUnsafeUpdates = false;
…