title: An error occurred while accessing the resources required to serve this request.
body: <p>I am trying to setup an asp.net website in localhost. Fitst, I  enabled IIS server and created website in 
  C:\inetpub\wwwroot folder and ran to ensure IIS is properly setup. In this case I used a existing website I created from visualstudio IDE. Everything was perfect. In this case I heavily used the following article.
  <a href="http://forums.asp.net/t/1689133.aspx" rel="nofollow">http://forums.asp.net/t/1689133.aspx</a></p>
  
  <p>Now the problem is I have a web site I downloaded from a remoteserver and I want to host it in localhost.
  When I compare the site I downloaded and the working site, I noticed that some files are missing. Howevere, the site in remote sever is working properly.</p>
  
  <p>I didnt see a bin folder and there is no much information on web.config file.</p>
  
  <p>Here is the code in web.config file</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
          &lt;staticContent&gt;
              &lt;mimeMap fileExtension=".json" mimeType="application/json" /&gt;
          &lt;/staticContent&gt;
      &lt;/system.webServer&gt;
      &lt;system.web&gt;
          &lt;authorization&gt;
              &lt;deny users="?" /&gt;
          &lt;/authorization&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>When I try to do the same process I did for the previous website and tried the browser then I get following erro.</p>
  
  <pre><code>Access is denied.
  
  Description: An error occurred while accessing the resources required to serve this request. The server may not be configured for access to the requested URL. 
  
  Error message 401.2.: Unauthorized: Logon failed due to server configuration.  Verify that you have permission to view this directory or page based on the credentials you supplied and the authentication methods enabled on the Web server.  Contact the Web server's administrator for additional assistance.
  </code></pre>
  
  <p>Where is the error ? How to fix this issue? If you want more information let me know?</p>