Что происходит
Создаем custom application page и видим в браузере сообщение вида:
Microsoft.SharePoint.SPException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.