I am working on a asp.net web application and I have kept the appSettings key/value information inside a separate config file name "CommonSettings.config" file placed at "D:/Common" folder instead of web.config file appSettings section. And I have modified the web.config file of the web application by pointing the appSetting section to the path like below :
<configuration>
<appSettings file="D:/Common/CommonSettings.config">
</configuration>
This works through the debugger. But it gives me a permission issue error while hosting the application on the IIS 7. I have tried with providing access to user "IIS_IUSRS" to the CommonSettings.config file, but didn't workout. Can any body suggest ?