- Check that you ran the code inside sprunWithElevated
- Check that you re instantiate a spsite after using SPContext, otherwise the site object will be run with normal priviledge
- If you are using SPLimitWebPartManager (lien vers dispose objects), place it in the spRunWithElevated priviledge too, because it instantiate an instance of SPWeb !
- Advertisement -