I am using Configuration
ConnectionStringSettings StringSettings = null; Configuration WebConfig = WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath); StringSettings = WebConfig.ConnectionStrings.ConnectionStrings["SiteSqlServer"];
but unfortunately it throws Failed to map the path '/' error.
I also tried to provide it comeplete physical path, Virtual Path but still facing the same Issue. Even I thought to use request.ApplicationPath but failed coz Installer doesn't recognise Request object.
Could you please help me out in resolving it.