Tried this: System.Web.HttpContext.Current.Request.PhysicalApplicationPath instead of System.Web.HttpContext.Current.Server.MapPath
and was finally able to get the right web.config file inside InetPub/wwwroot/80 site successfully
Tried this: System.Web.HttpContext.Current.Request.PhysicalApplicationPath instead of System.Web.HttpContext.Current.Server.MapPath
and was finally able to get the right web.config file inside InetPub/wwwroot/80 site successfully