I got this below while updating the profile through object model.
Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb
Add web.AllowUnsafeUpdate = true; to solve this issue.
|
||||||
Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWebI got this below while updating the profile through object model. Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb Add web.AllowUnsafeUpdate = true; to solve this issue. 2 comments to Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWeb |
||||||
|
Copyright © 2012 MSTechBlogs - All Rights Reserved Powered by WordPress & the Atahualpa Theme by BytesForAll. Discuss on our WP Forum |
||||||
grajits web.AllowUnsafeUpdates=true
Hello! When you have GET request and call BreakRoleInheritance, web.AllowUnsafeUpdates=true doesn’t help. I described it and a workaround in my blog http://dotnetfollower.com/wordpress/2011/03/sharepoint-updates-are-currently-disallowed-on-get-requests/