When I tried to execute :
XmlDocument doc = new XmlDocument();
getting error as : access to path ... is denied.
ConfigPath is set dynamically.
I have given full permissions to aspnet, everyone and iisapp users.
Also have impersonate using my login id and password.
What exactly m missing?