<p>We have a .NET 2.0 application which we normally run on IIS6, and used to run fine on IIS7, but recently after installing SP1 for Vista  IIS7 seems to be choking on a line in the Web.Config file:</p>

<pre><code>&lt;system.web AllowLocation="true"&gt;
</code></pre>

<p>Is it safe to remove the AllowLocation attribute? What does this attribute do?</p>

Having this set to true should enable any
```
<location>
```
sections in your web.config, so you should be fine to remove it if there's none in there.