I want to add web config changes to my 14/LAYOUTS/web.config file. How can i achieve this.
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.
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)