Yep, there is a solution for your problem....
It's so simple, and i lost so much time trying to solve it....
THe problem is that IIS simply refuses access to .config files, no matter if the are web.config or exe.config.
The solution is to remove this behaviour from the folder where your application exe is.
Go to IIS, and get properties of the folder your application is, then u must probably have it configured as an application if not click on the button Create, make sure execute permissions are Scripts only. then click on the button configure and on the mappings search for .config and click on remove.
This will allow your .config file to be allowed read access.....
Leandro Teixeira |