title: Cannot read configuration file due to insufficient permissions
body: <p>So I have looked at similar questions to this such as <a href="https://stackoverflow.com/questions/5615296/cannot-read-configuration-file-due-to-insufficient-permissions">here</a>.</p>
  
  <p>I cannot for the life of me figure out what is wrong.  I am trying to setup an asp.net website.  The website is stored on the D: Drive of the server. In IIS8 (windows server 2012) I point to the web folder where the web.config file is located.  I have given the IIS_IUSRS group read access to the whole D: Drive as well as IUSR and Network Service which are part of the IIS_IUSRS group.  I keep getting the error. I set up authentication as basic authentication. I have restarted the website.  I have tried many things but have reached an impass. This is all on localhost. Does anyone have any more ideas as to why this may be happening?  Could it possibly a configuration in my web config?  This website is being ported from an IIS7 website.  If you need specifics from my webconfig I can give you that however a lot of it contains sensitive information.</p>
  
  <p>Error: </p>
  
  <p>HTTP Error 500.19 - Internal Server Error</p>
  
  <p>The requested page cannot be accessed because the related configuration data for the page is invalid.</p>
  
  <p>Detailed Error Information:</p>
  
  <p>Module
     IIS Web Core </p>
  
  <p>Notification
     BeginRequest </p>
  
  <p>Handler
     Not yet determined </p>
  
  <p>Error Code
     0x80070005 </p>
  
  <p>Config Error
     Cannot read configuration file due to insufficient permissions  </p>
  
  <p>Config File
     \?\D:\Applications\Portal\Portal.Web\web.config </p>
  
  <p>Requested URL
     localhost:80/Portal </p>
  
  <p>Physical Path
     D:\Applications\Portal\Portal.Web </p>
  
  <p>Logon Method
     Not yet determined </p>
  
  <p>Logon User
     Not yet determined </p>
  
  <p>Request Tracing Directory
     C:\inetpub\logs\FailedReqLogFiles </p>
  
  <p>Config Source:
     -1: 
      0: </p>