The Scenario is:
I have a custom page in the central administration. I created it, deployed it(it worked ok) and now, on one of the servers I tried to access it(some time passed after I created it). It now shows this error when loading:
System.Runtime.InteropServices.COMException: Updates are currently disallowed on GET requests. To allow updates on a GET, set the 'AllowUnsafeUpdates' property on SPWeb. at Microsoft.SharePoint.Library.SPRequestInternalClass.ValidateFormDigest(String bstrUrl, String bstrListName) at Microsoft.SharePoint.Library.SPRequest.ValidateFormDigest(String bstrUrl, String bstrListName)
The problem is that on the page there are no unsafeupdates(no updates at all). Another thing, on a different server it works fine.
What I tried:
- I tried to update the SPSolution it worked but didn't fix the problem;
- I tried some powershell I saw on the internet:
$w = get-spwebapplication URL
- I tried IISreset and this didn't work as well
I have administrator rights on the server and full control over the database.