Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

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

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.