Thursday, May 24, 2012

CA, Web app, Generel Settings, Updates are currently disallowed on GET requests

When we select (in Central Administration) Web Applications -> General Settings for a few of our web applications, we get this error message:

“Error Updates are currently disallowed on GET requests.  To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb. Troubleshoot issues with Microsoft SharePoint Foundation”
The behavior was that new web applications would throw the error ‘Updates are currently disallowed on GET requests’ when we went to ‘General Settings’ in CA.  Since creating webapps isn’t an everyday occurrence in our environment, we aren’t sure the exact cause, but being a dev environment it could be a number of things.
Below mentioned powershell fixed it:
$w = get-spwebapplication


Anonymous said...

Thanks. This helped.

Anonymous said...