Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There is <strong>no problem with your web.config</strong>. Your web site runs under a process. In iis you can define the identity of that process. The <strong>identity</strong> that, your web site's <strong>application pool</strong> runs as (<em>Network Services, Local System</em>, Etc. ...), should have permission to access and read web.config file.</p> <p><strong><em>Update:</em></strong></p> <p><em>This updated answer is same as above, but a little longer and simpler and improved.</em></p> <p><strong>First of all</strong>: you don't have to change any thing in your config file. <strong>It's OK</strong>. The problem is with <strong>windows file permissions</strong>.</p> <p>This problems occurs because <strong>your application</strong> can not <strong>access</strong> and <strong>read web.config</strong> file.</p> <p>Make the file accessible to <strong>IIS_IUSRS</strong> group. Just <strong>right click web.config</strong> and click <strong>properties</strong>, under <strong>security</strong> tab, add <strong>IIS_IUSRS</strong>.</p> <p>So what is this IIS_IUSRS thing?</p> <p>Your <strong>web site</strong> is <strong>like an exe</strong> file. Just like any exe file, it should be <strong>started by a user</strong> and it runs <strong>according to permissions</strong> assigned to that user.</p> <p>When your site is started in <strong>IIS</strong>, <strong>Application Pool</strong> of your web site is associated with <strong>a user</strong> (<em>Network Services, Local System</em>, Etc. ...) (and can be changed in IIS)</p> <p>So when you say <strong>IIS_IUSRS</strong>, it means <strong>any user</strong> (<em>Network Services, Local System</em>, Etc. ...) that your site is running as.</p> <p>And as <strong><em>@Seph</em></strong> mentioned in <strong>comment below</strong>: <em>If your computer is on a domain</em>, remember that <strong>IIS_IUSRS</strong> group is a <strong>local group</strong>. Also make sure that when you're trying to find this user check the location it should be set to local computer and not a corporate domain.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload