2

I want to add web config changes to my 14/LAYOUTS/web.config file. How can i achieve this.

1
  • 2
    What specific changes do you need to do? You can add custom web.config files to subfolders of the LAYOUTS directory and these are merged when application pages in those folders are accessed.
    – James Love
    Oct 13, 2011 at 9:24

2 Answers 2

2

Depending on what you're doing, a less-invasive option would be to store data in the property bag for the web application, which would avoid the need to modify the web.config.

You can use the SharePoint Property Bag Settings 2010 project to add/manage property bag keys, or create them with PowerShell or an Event Receiver.

1

agree with James. try to put your InputCsvFile.aspx in a subfolder in Layouts, then put web.config file in the same subfolder with your nodes (configuration -> location; etc)

Your Answer

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

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