Web config Form Errorhttp://forums.asp.net/t/1776334.aspx/1?Web+config+Form+ErrorSat, 03 Mar 2012 16:22:39 -050017763344862130http://forums.asp.net/p/1776334/4862130.aspx/1?Web+config+Form+ErrorWeb config Form Error <p>Hi,</p> <p>I am new to ASP.Net.</p> <p>I just installed Visual Studio 2010 and create a basic application. The application executes fine when I executes it from Visual Studio, but some unknow reason when I try to execute it by typing url in browser i.e&nbsp;<a href="http://localhost/Lab1/WebApplication1/WebApplication1/">http://localhost/Lab1/WebApplication1/WebApplication1/</a>&nbsp;it gives following error:</p> <p></p> <pre>Line 16: &lt;compilation debug=&quot;true&quot; strict=&quot;false&quot; explicit=&quot;true&quot; targetFramework=&quot;4.0&quot; /&gt; Line 17: <span color="red" style="color:red">Line 18: &lt;authentication mode=&quot;Forms&quot;&gt; <br></span>Line 19: &lt;forms loginUrl=&quot;~/Account/Login.aspx&quot; timeout=&quot;2880&quot; /&gt; Line 20: &lt;/authentication&gt;</pre> <pre></pre> <pre>Please advice.<br>Thanks!&nbsp;</pre> <pre></pre> <pre></pre> 2012-03-03T14:02:37-05:004862163http://forums.asp.net/p/1776334/4862163.aspx/1?Re+Web+config+Form+ErrorRe: Web config Form Error <p>In IIS under Website , check you site dir and try to change authentication control under directory security</p> 2012-03-03T14:49:56-05:004862168http://forums.asp.net/p/1776334/4862168.aspx/1?Re+Web+config+Form+ErrorRe: Web config Form Error <p>Website is pointing to correct directory and authentication control is set to anonymous.</p> 2012-03-03T14:56:35-05:004862208http://forums.asp.net/p/1776334/4862208.aspx/1?Re+Web+config+Form+ErrorRe: Web config Form Error <p>Try to give permissions to&nbsp;<span>&quot;IUSR&quot; and &quot;others!&quot; to app folder</span></p> 2012-03-03T16:22:39-05:00