<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Configuration and Deployment</title><link>http://forums.asp.net/26.aspx</link><description>Configuring and deploying ASP.NET applications - web.config, \bin, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2945463.aspx</link><pubDate>Mon, 16 Feb 2009 23:25:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2945463</guid><dc:creator>p_maroun</dc:creator><author>p_maroun</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2945463.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2945463</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am really really interested of implementing&amp;nbsp;a web&amp;nbsp;authentication form for my html pages so I followed every step of your procedure and I ran a test. The good thing is that when I want to access the html pages of my website, it&amp;nbsp;will redirect me to the login page because I am not logged in. When&amp;nbsp;I log in and&amp;nbsp; try to access to any web page that has a .html extension it gives me the following error:&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Server Error in &amp;#39;/&amp;#39; Application. &lt;/h1&gt;
&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;
&lt;h1&gt;&lt;b&gt;The file &amp;#39;/Help/English/HTML/index.html&amp;#39; has not been pre-compiled, and cannot be requested.&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;/h1&gt;
&lt;p&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.Web.HttpException: The file &amp;#39;/Help/English/HTML/index.html&amp;#39; has not been pre-compiled, and cannot be requested.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;/p&gt;
&lt;table class="" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;
&lt;p&gt;&lt;code&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/code&gt; &lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;&lt;br /&gt;&lt;b&gt;Stack Trace:&lt;/b&gt; &lt;/p&gt;
&lt;p&gt;
&lt;table class="" style="WIDTH:787px;HEIGHT:370px;" cellpadding="0"&gt;

&lt;tr&gt;
&lt;td class=""&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;[HttpException (0x80004005): The file &amp;#39;/Help/English/HTML/index.html&amp;#39; has not been pre-compiled, and cannot be requested.]&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +8756366&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&amp;nbsp; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp;amp; completedSynchronously) +155&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;Version Information:&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I am using IIS 6.0 and my web application is pre-compiled by the asp.net compiler (aspnet_compiler.exe) of the .net framework 2.0.50727.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;strong&gt;Can you help me, plz???&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;strong&gt;Thanks in advance,&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;strong&gt;p_maroun&lt;/strong&gt;&lt;/font&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;strong&gt; &lt;/strong&gt;
&lt;p&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;&lt;font face="Verdana"&gt;Version Information:&lt;/font&gt;&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053 &lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2096319.aspx</link><pubDate>Tue, 08 Jan 2008 10:26:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2096319</guid><dc:creator>kris.mac</dc:creator><author>kris.mac</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2096319.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2096319</wfw:commentRss><description>&lt;p&gt;Thanks heaps for your post, I had the same issue and your instructions helped me fix the problem&lt;/p&gt;</description></item><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2019507.aspx</link><pubDate>Wed, 21 Nov 2007 20:19:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2019507</guid><dc:creator>fr33m3</dc:creator><author>fr33m3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2019507.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2019507</wfw:commentRss><description>&lt;p&gt;Okay, so I figured out my problem and I&amp;#39;m super happy about it and I thought I would share my results. Here&amp;#39;s the steps to configuring ASP.NET (extension aspx) to protect all files using a forms authentication login page:&lt;/p&gt;&lt;p&gt;1.) follow the guide found here ( http://msdn2.microsoft.com/en-us/library/ms998360.aspx ) to configure the login page and default.aspx page&lt;/p&gt;&lt;p&gt;2.) configure .htm, .asp. etc. etc. extensions to use the same filter as a standard .aspx page:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  a.) right click on your virtual directory --&amp;gt; properties&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  b.) find the &lt;i&gt;virtual directories&lt;/i&gt; tab for IIS 5.0 or the &lt;i&gt;Home directories&lt;/i&gt; tab for IIS 6.0 and click &amp;quot;Configuration&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  c.) find the .aspx extension, double click, and copy the path to &lt;b&gt;aspnet_isapi.dll&lt;/b&gt;, the path being found in the executable text area&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  d.) click &amp;quot;add&amp;quot; under the &amp;quot;application configuration&amp;quot; window and paste the path to aspnet_isapi.dll inf the executable text area&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; f.) type &amp;quot;.htm&amp;quot; (without the quotes) in the extension text area (this can be replace with any file extension eg: asp/html)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.) while still in the &amp;quot;add/edit application extension mapping&amp;quot; window click the &amp;quot;limit to&amp;quot; radio button and type &amp;quot;GET,HEAD,POST,DEBUG&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; f.) ensure that the &amp;quot;script engine&amp;quot; radio button is selected but not the &amp;quot;verify the file exists&amp;quot; radio button&lt;/p&gt;&lt;p&gt;3.) add the following to the script.web heading in web.config file for the directory:&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;httpHandlers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add verb=&amp;quot;GET, HEAD, POST, DEBUG&amp;quot; path=&amp;quot;*.htm&amp;quot; type=&amp;quot;System.Web.UI.PageHandlerFactory&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add verb=&amp;quot;GET, HEAD, POST, DEBUG&amp;quot; path=&amp;quot;*.html&amp;quot; type=&amp;quot;System.Web.UI.PageHandlerFactory&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add verb=&amp;quot;GET, HEAD, POST, DEBUG&amp;quot; path=&amp;quot;*.asp&amp;quot; type=&amp;quot;System.Web.UI.PageHandlerFactory&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/httpHandlers&amp;gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;note: add any other extensions that were configuration in the application configuration window&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;4.) find the &amp;quot;compilation: section of the web.config file and ensure it looks like the following:&lt;/p&gt;&lt;p&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compilation debug=&amp;quot;false&amp;quot; strict=&amp;quot;false&amp;quot; explicit=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;buildProviders&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add extension=&amp;quot;.htm&amp;quot; type=&amp;quot;System.Web.Compilation.PageBuildProvider&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add extension=&amp;quot;.asp&amp;quot; type=&amp;quot;System.Web.Compilation.PageBuildProvider&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add extension=&amp;quot;.html&amp;quot; type=&amp;quot;System.Web.Compilation.PageBuildProvider&amp;quot; /&amp;gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/buildProviders&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/compilation&amp;gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;5.) Go grab a coffee, you&amp;#39;re done!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope this helps anyone who needs the same setup. This will allow you to create a page entitled &amp;quot;login.aspx&amp;quot; and ensure that any file, whether it be .html, .htm, .asp, etc. etc., under your virtual directory will be protected using forms authentication.&lt;/p&gt;&lt;p&gt;&amp;nbsp;btw: here are some links I found extremely helpful:&lt;/p&gt;&lt;p&gt;&amp;nbsp;http://support.microsoft.com/kb/815172&lt;/p&gt;&lt;p&gt;http://www.iislogs.com/articles/9/&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;unfortunately I couldn&amp;#39;t find one source to tell you how to do all of this but now, hopefully, this will help people out a bit.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Fr33m3&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2019432.aspx</link><pubDate>Wed, 21 Nov 2007 19:43:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2019432</guid><dc:creator>fr33m3</dc:creator><author>fr33m3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2019432.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2019432</wfw:commentRss><description>&lt;p&gt;I found this site (http://support.microsoft.com/kb/815172) which basically says you need to modify the configuration file to use the appropriate handler for the .dll file. So I did what the blog said and now I&amp;#39;m getting an error that says:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;quot;&lt;i&gt;There is no build provider registered for the extension &amp;#39;.htm&amp;#39;. You can 
register one in the &amp;lt;compilation&amp;gt;&amp;lt;buildProviders&amp;gt; section in 
machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute 
attribute which includes the value &amp;#39;Web&amp;#39; or &amp;#39;All&amp;#39;. &amp;quot;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Does anyone know if I&amp;#39;m following a fault lead or the solution to this error message?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;fr33m3&amp;nbsp;&lt;/p&gt;&lt;h2&gt; &lt;/h2&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2019069.aspx</link><pubDate>Wed, 21 Nov 2007 16:39:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2019069</guid><dc:creator>fr33m3</dc:creator><author>fr33m3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2019069.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2019069</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;thanks for the response.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;1. My forms authentication works properly and authenticates against my active directory perfectly&lt;/p&gt;

&lt;p&gt;2. the protection of the page.html works BUT html don&amp;#39;t display. In other words html pages redirect to the login page but when the html page is redirected and &amp;quot;displayed&amp;quot; it give a &amp;quot;this page cannot be displayed&amp;quot; error message. &lt;/p&gt;


&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&amp;nbsp;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;!-- &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Note: As an alternative to hand editing this file you can use the &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; web admin tool to configure settings for your application. Use&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the Website-&amp;gt;Asp.Net Configuration option in Visual Studio.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A full list of settings and comments can be found in &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; machine.config.comments usually located in &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; \Windows\Microsoft.Net\Framework\v2.x\Config &lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;lt;configuration xmlns=&amp;quot;http://schemas.microsoft.com/.NetConfiguration/v2.0&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;appSettings/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;connectionStrings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&amp;quot;ADConnectionString&amp;quot; connectionString=&amp;quot;LDAP://fpath to dc/OU=OU,OU=OU,OU=OU,DC=DC,DC=COM&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/connectionStrings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!-- &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set compilation debug=&amp;quot;true&amp;quot; to insert debugging &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbols into the compiled page. Because this &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; affects performance, set this value to true only &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; during development.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Visual Basic options:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set strict=&amp;quot;true&amp;quot; to disallow all data type conversions &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where data loss can occur. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set explicit=&amp;quot;true&amp;quot; to force declaration of all variables.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;identity userName=&amp;quot;username&amp;quot; impersonate=&amp;quot;true&amp;quot; password=&amp;quot;password&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;compilation debug=&amp;quot;false&amp;quot; strict=&amp;quot;false&amp;quot; explicit=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;pages&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;namespaces&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;clear /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Collections&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Collections.Specialized&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Configuration&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Text&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Text.RegularExpressions&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.Caching&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.SessionState&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.Security&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.Profile&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.UI&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.UI.WebControls&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.UI.WebControls.WebParts&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add namespace=&amp;quot;System.Web.UI.HtmlControls&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/namespaces&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/pages&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The &amp;lt;authentication&amp;gt; section enables configuration &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of the security authentication mode used by &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASP.NET to identify an incoming user. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authentication mode=&amp;quot;Forms&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;forms&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;.ADAuthCookie&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; timeout=&amp;quot;10&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authentication&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;authorization&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;deny users=&amp;quot;?&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;allow users=&amp;quot;*&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/authorization&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;membership defaultProvider=&amp;quot;MyADMembershipProvider&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;providers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name=&amp;quot;MyADMembershipProvider&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type=&amp;quot;System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0,&amp;amp;#xD;&amp;amp;#xA;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionStringName=&amp;quot;ADConnectionString&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionUsername=&amp;quot;username&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; connectionPassword=&amp;quot;password&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributeMapUsername=&amp;quot;sAMAccountName&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/providers&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/membership&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The &amp;lt;customErrors&amp;gt; section enables configuration &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of what to do if/when an unhandled error occurs &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; during the execution of a request. Specifically, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it enables developers to configure html error pages &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to be displayed in place of a error stack trace.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;customErrors mode=&amp;quot;RemoteOnly&amp;quot; defaultRedirect=&amp;quot;GenericErrorPage.htm&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error statusCode=&amp;quot;403&amp;quot; redirect=&amp;quot;NoAccess.htm&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error statusCode=&amp;quot;404&amp;quot; redirect=&amp;quot;FileNotFound.htm&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/customErrors&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;location path=&amp;quot;Index.htm&amp;quot; allowOverride=&amp;quot;true&amp;quot; inheritInChildApplications=&amp;quot;true&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;identity userName=&amp;quot;username&amp;quot; impersonate=&amp;quot;true&amp;quot; password=&amp;quot;password&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/system.web&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/location&amp;gt;&lt;br /&gt;&amp;lt;/configuration&amp;gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;pre class="coloredcode"&gt;is what my web.config looks like but I don&amp;#39;t think it has anything to do with the web.config because if it did, wouldn&amp;#39;t it prohibit my aspx pages from displaying as well?&lt;/pre&gt;&lt;pre class="coloredcode"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="coloredcode"&gt;Thanks for the help!&amp;nbsp;&lt;/pre&gt;&amp;nbsp;&amp;nbsp;</description></item><item><title>Re: IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2018931.aspx</link><pubDate>Wed, 21 Nov 2007 15:33:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2018931</guid><dc:creator>deblendewim</dc:creator><author>deblendewim</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2018931.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2018931</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Freeme,&lt;/p&gt;&lt;p&gt;Am I right about this:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Your forms authentication works? right?&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The protection of a page.html fails?&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;br /&gt;Can you post your web.config code? Well, the authorisation part will do I guess ..... EDIT: plus the authentication also I guess ;)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please comment on my observations!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards,&lt;br /&gt;Wim&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>IIS problems with forms authentication &amp; HTML pages</title><link>http://forums.asp.net/thread/2017188.aspx</link><pubDate>Tue, 20 Nov 2007 20:21:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2017188</guid><dc:creator>fr33m3</dc:creator><author>fr33m3</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2017188.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=2017188</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having a problem with IIS and ASPX forms authentication and I was hoping someone on here would be able to help me. I created a login script and edited my web.config file based on what I read &lt;a href="http://msdn2.microsoft.com/en-us/library/ms998360.aspx"&gt;here&lt;/a&gt;. I then published the site from visual studio 05 into my file which is being hosted on an IIS server. After that was done I set up anonymous access and went properties on my web server, &amp;quot;home directory&amp;quot;, &amp;quot;configuration&amp;quot;, and then added the .html extension with the executable path being the same as my .aspx extension. After that html was prevented from being accessed without passing through the login page but the problem is now that I get a &amp;quot;page cannot be accessed&amp;quot; error when the html page is redirected from my login page. &lt;/p&gt;&lt;p&gt;I test to see if it was in fact the html extension that was causing the problem by, firstly, by changing the extension of the html document to aspx and it worked fine (redirected properly and appeared properly). Now that I knew aspx extensions were working properly I thought the problem might be that html pages simply weren&amp;#39;t redirecting properly, I test this by logging on using default.aspx, going through the login page, and getting a cookie. Once I had a cookie I tried entering \\&amp;lt;webserver&amp;gt;\index.html into my web browser and again got the &amp;quot;Page cannot be accessed&amp;quot; page. &lt;/p&gt;&lt;p&gt;So, to recap, the problem isn&amp;#39;t the redirection from the login page and the problem is not the location of the page as changing the extension didn&amp;#39;t work and trying to enter the page without redirection didn&amp;#39;t work. My thoughts are that it&amp;#39;s a permissions problems but I&amp;#39;ve enabled everything in the web service extensions settings.&lt;/p&gt;&lt;p&gt;Any help would be greatly appreciated. I&amp;#39;ve been working on this way too long to give up now but can&amp;#39;t really justify spending much more company time trying to figure this out. It seems that if I change all my extensions to &amp;quot;.aspx&amp;quot; I SHOULD be fine but that&amp;#39;s a lot of retrofitting and considering the amount of time I&amp;#39;ve spent on this site already I&amp;#39;d rather consider other options.&lt;/p&gt;&lt;p&gt;Again, any help or insight would be much appreciated.&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Fr33m3&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>