Mayroon akong ito sa ibaba habang ina-update ang profile sa pamamagitan ng modelo ng object.
Update ay kasalukuyang hindi pinayagan sa GET kahilingan. Upang payagan ang mga update sa isang GET, itakda ang 'AllowUnsafeUpdates’ ari-arian sa SPWeb
Magdagdag ng web.AllowUnsafeUpdate = true; upang malutas ang isyu na ito.
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.