Power BI

Content by Charles Sterling

Accessing Config Files from a "NoTouch" Deployed Application

I had a question about accessing Config files from “No touch” application:


First of all when you say “NoTouch” are you referring to the .Net Framework version for 1.1 or the “one click” technology in 2.0?

If it is the 1.1 technology you might reconsider using it due to lack of documentation and the issue “Href to exe apps broken by .NET 2.0”


If it is a matter of wanting to use config file from the server then you should be able to enable access to config files on IIS (see bottom of post) and use the APP_LAUNCH_URL constant (see below) to extract this patch.


AppDomain domain = AppDomain.CurrentDomain;

object obj = domain.GetData(“APP_LAUNCH_URL”);

string appLaunchUrl = (obj != null ? obj.ToString() : “”);


Enabling Config file access on IIS




      <!– map .exe and .exe?blah.config files to our handler –>

      <add verb=”*” path=”*.exe”

           type=”Genghis.Web.ConfigFileHandler, ConfigHandler” />


      <!– allow .config files but disable web.config files –>

      <remove verb=”*” path=”*.config” />

      <add verb=”*” path=”web.config”






For more information on this please see Chris Sells article:




other keywords: zero touch, no touch, oneclick and href to exe