title: The requested page cannot be accessed because the related configuration data for the page is invalid
body: <p>I am getting this error when I try to run an ASP.NET application without a web.config file.</p>
  
  <blockquote>
    <p>The requested page cannot be accessed because the related configuration data for the page is invalid</p>
  </blockquote>
  
  <p>as I read, we can run .NET applications without web config files, but when I tried it is giving me the error. I am using iis 7 on windows 7 machine.</p>
  
  <p>When I create the application virtual directory inside inetpub/wwwroot it works fine. Why doesn't the other directory location?</p>