If the web page security validation is turned off, the above error message might be presented when trying to create a document library or list in SharePoint 2010.
To change the setting, log into Central Administration, manage the web app and change the general settings of the web app to enable security validation.