Tag Info

New answers tagged

0

If code is running too long the asp.net feature activation could be terminated. Try to edit web.config in 14 hive < location path="_layouts/ManageFeatures.aspx" > < system.web > < httpRuntime executionTimeout="3600" / > < /system.web> < /location > I just set the time for one hour it's should be enough.


0

Try below var feature = null; if(spSite.Features != null) { feature = spSite.Features.SingleOrDefault(f => (f.Definition != null && f.Definition.DisplayName != null && f.Definition.DisplayName.ToLower().Equals(strFeatureName)); }



Top 50 recent answers are included