title: ASP.NET OpenWebConfiguration failing
body: <p>I'm trying to open the web configuration so I can encrypt/decrypt it but it's failing. I'm doing this on Web Developer 2010 Express on my desktop where I setup a website as a filesystem. Here are the ways I've tried. </p>
  
  <pre><code>Configuration config = WebConfigurationManager.OpenWebConfiguration(HttpContext.Current.Request.ApplicationPath);
  
  Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
  
  Configuration config = WebConfigurationManager.OpenWebConfiguration("/");
  
  Configuration config = WebConfigurationManager.OpenWebConfiguration("/web.config");
  
  Configuration config = WebConfigurationManager.OpenWebConfiguration(/AppNameHere);
  </code></pre>
  
  <p>Every time I get error: An error occurred loading a configuration file: Failed to map the path '/'.</p>
  
  <p>Any ideas?</p>