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. 3 comments to Updates are currently disallowed on GET requests. To allow updates on a GET, set the ‘AllowUnsafeUpdates’ property on SPWebОставете Одговор |
||||||
Авторски права © 2024 MSTechBlogs - Сите права се задржани Powered by WordPress & Atahualpa |
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/
Great article, thanks for posting this post. I will be reading your blog as much as I can from now on! Appreciate it.