<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.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/" xmlns:cs="http://blogs.iis.net/"><channel><title>ASP.NET Administration</title><link>http://forums.iis.net/1038.aspx</link><description>A forum discussion around administering, configuring, and limited usage on ASP.NET 1.x, 2.x</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1910054.aspx</link><pubDate>Sun, 12 Jul 2009 21:32:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910054</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910054.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1910054</wfw:commentRss><description>&lt;p&gt;A) Either set the asp.net isapi to handle all extensions or &lt;/p&gt;
&lt;p&gt;B) Set the custom errors in IIS.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.orcsweb.com/articles/custom_errors_in_iis.aspx"&gt;http://www.orcsweb.com/articles/custom_errors_in_iis.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1910051.aspx</link><pubDate>Sun, 12 Jul 2009 21:11:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910051</guid><dc:creator>johnly</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910051.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1910051</wfw:commentRss><description>&lt;h3 id="tocHeadRef"&gt;&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;You can use&amp;nbsp;the &lt;b&gt;Application_Error&lt;/b&gt; event handler to trap errors&amp;nbsp;occured in your application. Due to the event&amp;#39;s application-wide scope, you can log of application error information or handle other application-level errors that may occur.&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;Application_Error&lt;/b&gt; event handler is specified in the Global.asax file of your application. For simplicity, the steps in this section create a new page in which to throw the exception, trap the error in the &lt;b&gt;Application_Error&lt;/b&gt; event handler of the Global.asax file, and you can write the error to the &lt;strong&gt;event log&lt;/strong&gt; and redirect to a custom error page. &lt;/p&gt;
&lt;p&gt;&lt;a class="" title="Send-BulkSMS" href="http://www.send-bulksms.com/" target="_blank"&gt;Send-BulkSMS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1906250.aspx</link><pubDate>Tue, 09 Jun 2009 00:09:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1906250</guid><dc:creator>chenQ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1906250.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1906250</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;&amp;nbsp;Try to use the URL option for message type, and then specify the URL for where your asp.net pages are served. The asp.net page needs to be served in order to work. Hope this helps.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1902646.aspx</link><pubDate>Mon, 04 May 2009 07:35:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902646</guid><dc:creator>Resharper123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902646.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1902646</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi!&lt;/p&gt;&lt;p&gt;Sorry for bit of silly question: if there are exist any ways to set *.aspx custom error pages in IIS?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1902621.aspx</link><pubDate>Mon, 04 May 2009 02:48:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902621</guid><dc:creator>Leo Tang - MSFT</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902621.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1902621</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you selected URL, the custom error URL must exist in the application pool that directs the request to the custom error URL. If the page your requested encounter&amp;nbsp; a 401 or 403 error,&amp;nbsp; the custom error page also encounter the same error.&amp;nbsp;Then, there would be a&amp;nbsp; loop.&amp;nbsp;Hence, you can set only&amp;nbsp;File or Default for these specific errors.&lt;/p&gt;
&lt;p&gt;Since you set custom error page as File, the custom error page will be served as a static file.&amp;nbsp; In this scenario, the .aspx page was processed as an XML file. The workaround is set simple html file for the specific errors and set URL for the others.&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1902248.aspx</link><pubDate>Wed, 29 Apr 2009 07:40:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902248</guid><dc:creator>Resharper123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902248.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1902248</wfw:commentRss><description>&lt;p&gt;I set for 404 error custom error page as File, Path=&amp;quot;%path to my site%/ErrorPage.aspx&amp;quot;. Then I tried to get following page /MySite/qweqweqweqwe, which is not exists, this request must be served by IIS. In IE7 I receive following page &lt;/p&gt;&lt;table&gt;
&lt;p style="font-family:verdana;font-style:normal;font-variant:normal;font-weight:normal;font-size:13pt;line-height:15pt;font-size-adjust:none;font-stretch:normal;"&gt;The XML page cannot be displayed 
&lt;/p&gt;&lt;p style="font-family:verdana;font-style:normal;font-variant:normal;font-weight:normal;font-size:8pt;line-height:11pt;font-size-adjust:none;font-stretch:normal;"&gt;Cannot view XML input using XSL style sheet. 
Please correct the error and then click the &lt;a target="_self"&gt;Refresh&lt;/a&gt; button, or try 
again later. 
&lt;/p&gt;&lt;hr /&gt;

&lt;p style="font-family:verdana;font-style:normal;font-variant:normal;font-weight:bold;font-size:8pt;line-height:11pt;font-size-adjust:none;font-stretch:normal;"&gt;A name was started with an invalid 
character. Error processing resource 
&amp;#39;http://localhost/ClosingCalendar_Dev/qweqweqweqwe&amp;#39;...&lt;/p&gt;&lt;pre style="font-weight:normal;font-size:10pt;line-height:12pt;font-style:normal;font-variant:normal;"&gt;&lt;font color="blue"&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; AutoEventWireup=&amp;quot;true&amp;quot; CodeBehind=&amp;quot;ErrorPage.aspx.cs&amp;quot; Inherits=&amp;quot;MyProject.WebSite.ErrorP...&lt;/font&gt;&lt;/pre&gt;
&lt;/table&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1902176.aspx</link><pubDate>Tue, 28 Apr 2009 19:12:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902176</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902176.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1902176</wfw:commentRss><description>&lt;p&gt;Gotcha.&amp;nbsp; You asked in the ASP.NET forum so I figured that&amp;#39;s how you wanted to handle everything.&lt;/p&gt;
&lt;p&gt;What happens if you use file?&amp;nbsp; Does the aspx still get served?&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1902172.aspx</link><pubDate>Tue, 28 Apr 2009 18:45:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902172</guid><dc:creator>Resharper123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902172.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1902172</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank&amp;#39;s for reply. I know this method, but it works only for ASP.Net&amp;#39;s resources, like *.aspx, *.ashx and so all. For example if user asks *.aspx page which has restricted access he will receive *.aspx error page for error 403 (if you are set it in web.config). When user tries to get, for example *html page with restricted access he will receive standart error page from IIS, such as IIS processes this type of resources and ASP.Net will not receive this request. Approach when I need to set aspnet_isapi.dll for every type of resources is not appropriate. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1901991.aspx</link><pubDate>Mon, 27 Apr 2009 14:46:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901991</guid><dc:creator>tomkmvp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1901991.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1901991</wfw:commentRss><description>&lt;p&gt;Since this is for ASP.NET you can use the custom errors section of your web.config file.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/306355"&gt;http://support.microsoft.com/kb/306355&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How to set custom error pages for 401, 403, 500 errors in IIS 5.x</title><link>http://forums.iis.net/thread/1901955.aspx</link><pubDate>Mon, 27 Apr 2009 08:54:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901955</guid><dc:creator>Resharper123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1901955.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1038&amp;PostID=1901955</wfw:commentRss><description>&lt;p&gt;Hi to all.&lt;/p&gt;&lt;p&gt;I need to set my custom error pages for 401, 404, 403, 500 in IIS 5.x. For 404&amp;nbsp; error I can set URL to the appropriate error page, but for others I can set only File or Default. How can I set my custom aspx error pages for errors?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>