title: Error 500.19 - IIS 7.5 Site based on UNC - File Permissions Problem
body: <p>I'm trying to get a website in my IIS 7.5 (Win 7 Pro machine) to run via a UNC path to the code for one of the default website and an underlying App.  This is the first time I've ever tried to set up a site/app in IIS 7.5 based off a UNC path: a folder on another server in the same domain.</p>
  
  <p>I've tried various things to try to get this resolved.  The app pool is running under <code>ApplicationPoolIdentity</code> on my Win 7 Pro PC where I have this site set up.</p>
  
  <p>The runtime error I get when trying to run the app in the browser via <a href="http://localhost/TheAppName" rel="nofollow noreferrer">http://localhost/TheAppName</a> is:</p>
  
  <blockquote>
    <p><strong>Module:</strong> IIS Web Core<br>
    <strong>Notification:</strong> Unknown<br>
    <strong>Handler:</strong> Not Yet Determined<br>
    <strong>Error Code:</strong> <code>0x800700005</code><br>
    <strong>Config Error:</strong> Cannot read configuration file due to insufficient permissions<br>
    <strong>Config File:</strong> <code>\\?\UNC\theServerName\www\TheAppName</code><br>
    <strong>Requested URL:</strong> <code>http://localhost:80/TheAppName</code><br>
    <strong>Physical Path:</strong> (nothing showing up here)<br>
    <strong>Logon Method:</strong> Not yet determined<br>
    <strong>Logon User:</strong> Not yet determined</p>
  </blockquote>
  
  <p>I put in fake names for the server and app name above for privacy for this post.</p>
  
  <p>So it's having trouble reading the web.config found in that UNC path for this site.</p>
  
  <p>I tried to add a local user on the target server and then then gave that user permissions to the web.config and then used that user <code>RemoteServerName\LocalUserICreated</code> as the app pool's Identity on my machine but it had no effect.</p>
  
  <p>No clue what to do here and how to go about it.</p>