SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
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 '11 at 9:24

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.

share|improve this answer

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)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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