title: How to get a .NET CCW assembly to load configuration from a dll.config
body: <p>I have a .NET component exposed as a <strong>CCW</strong> (Com Callable Wrapper) and being loaded into an unmanaged IIS application (ATL server).  The assembly is installed and registered with COM using <code>regasm /codebase</code>.</p>
  
  <p>The component requires configuration such as is typically put into a Web.config file for an IIS app.  But I don't want to drop the config into either w3pw.exe.config or machine.config - Ideally I'd like the configuration to be installed live along side the assembly that is exposed to COM.</p>
  
  <p>I haven't found a way to achieve this.  Since the COM assembly is loaded into the default AppDomain, so I don't think I can configure that domain to load from an alternate location.</p>