I have a SharePoint solution deployed into a specific web application on the production SharePoint site.

When I try to enable the feature from the site features in Site Settings I get an error saying it "Failed to apply web.config modifications to the web application" and the access to the web.config file is denied.

When we tried this on test we had no problems.

Does anyone know why this would be the case and how it can be resolved?

Thanks Gavin

  • Probably permissions - what account is the code that applies the modifications running under?
    – James Love
    Mar 11, 2013 at 22:44

1 Answer 1


Check the permission on the inetpub folders or the folder of that web app and compare with the permission in test environment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.