Hello Reader,
This blog has been moved to this below new site location, please leave comment and feedback on this new blog.
http://sanketinfo.blogspot.com/2010/01/getting-access-denied-error-while.html
Sorry for any inconvenience.
~Sanket
Advertisement
Filed under: Personal Experience, SharePoint List, SharePoint Object Model Tagged: | Access denied, access denied in list item, Getting access denied error while updating list items, List Settings, List.Update(), Listitem.update(), MOSS 2007, SharePoint, SPSecurity.Runwithelevatedprivileges, SPSecurity.RunWithElevatedPrivileges delegate, updating list items
Hi Sanket
You saved my Life with this blog. Please post the good blogs like this.
Thanks a lot
Disha Shah
So run that by me again? how were they able to update list items without a call to .Update() ?
Hi Shane,
I was talking about List.Update(), when we are updating list items at that time we don’t require to call List.Update(), we can update the items by ListItem.Update() only.
Thanks for your comment!
Sanket
I am not using any LIST.UPDATE() but the loged in user have contributor permissions only. still i am geeting the Access is denied error
SPWorkflowTask.AlterTask(this._TaskListItem, taskHash, true);
Hi Sanket,
Your blog helps me a lot. I was stucked at the same issue since last 2 days.
But i have figured out one strange issue. I will be thankful to you, if you can explain it for me.
When I tried to update the sharepoint list item, i got the access denied exception, but when checked the item in the list it was updated. How is it possible, if user in the group have contribute access dont have permission to update the list item?
Waiting for your valuable response.
Also Thank you very much for this blog.
-Kaustubh