January 21, 2011

Unable to add selected webpart(s)

Our Favourite error:

Resolutions:
1. Code which needs higher access for ex, if we are dealing with AudienceManager etc etc. Keep the code in SPSecurity.RunWithEleveatedPrivileges.
2. As Usual, web.config, safe controls.
3. Sometimes, in the first step, you can add the webpart, but we get the error "HRESULT..DISP_E_Exception", same thing, RumWithElevated Privilelegs. Needs this when you are updating properties of the webpart etc.



No comments:

SonarQube with Jenkins Setup using Docker Images

https://funnelgarden.com/sonarqube-jenkins-docker/  https://medium.com/@hakdogan/an-end-to-end-tutorial-to-continuous-integration-and-con...