Tag Info

New answers tagged

0

Features have a scope. Depending on the scope, you can either have: for farm solutions: a feature deployed to the whole farm [scope: Farm] a feature deployed to one or more web applications (you can check where a feature is deployed to from the Central Admin > System settings > Solution management) [scope: Web application or Site] a feature globally ...


0

This works for me: public override void FeatureActivated(SPFeatureReceiverProperties properties) { string usersAll = "NT AUTHORITY\\authenticated users"; SPSecurity.RunWithElevatedPrivileges(delegate { using (SPSite spSite = SPContext.Current.Web.Site) { using (SPWeb spWeb = spSite.OpenWeb()) { ...


0

I also received this kind of error before while deploying webpart, so i used powershell to add solution, that time it shown the actual error that my SharePoint_Config log file was full. You can check below two scenario: 1) Your sharepoint_config log file is not full and you have diskspace on server. 2) The account you are using to deploy solution has ...


0

Robert Lindgrens comment hasn't solved my problem, but it somehow brought my train of thought onto the right track to solve it. In the end what helped me was doing the following: Reset feature.template.xml back to default Right click on the Feature and click Add Event Receiver Copy code from prev. created class to new created event receiver. this class ...



Top 50 recent answers are included