<?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>IIS 7.0 - Application Request Routing (ARR)</title><link>http://forums.iis.net/1154.aspx</link><description>Maximize server resources, and increase application availability and scalability with Application Request Routing.  Use this forum to ask questions, discuss issues, request features, and get support.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1902938.aspx</link><pubDate>Wed, 06 May 2009 23:14:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902938</guid><dc:creator>mbaocha</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1902938.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1902938</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Why not check out this url - &lt;span style="visibility:visible;" id="main"&gt;&lt;span style="visibility:visible;" id="search"&gt;www.&lt;b&gt;iisproxy&lt;/b&gt;.net&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;It details all you need to know regarding using IIS as a proxy.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cheers&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;____________________________________&lt;br /&gt;

&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a href="http://www.rnetwebhosting.com/"&gt;Cheap Affordable
Web Hosting&lt;/a&gt; | &lt;a href="http://www.rnetwebhosting.com/"&gt;Windows Linux PHP
ASPX MYSQL Website Hosting&lt;/a&gt; | &lt;a href="http://www.rnetwebhosting.com/web-design/"&gt;Best Web Design&amp;nbsp;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;Company&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1891430.aspx</link><pubDate>Thu, 29 Jan 2009 01:03:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1891430</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1891430.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1891430</wfw:commentRss><description>&lt;p&gt;This is being fixed for win7 and ws08 R2 - if you need it fixed for ws08, can you provide some business reason we can use to push for a qfe?&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1890080.aspx</link><pubDate>Thu, 15 Jan 2009 15:39:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1890080</guid><dc:creator>pascal06</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1890080.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1890080</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m facing with the same issue, &lt;/p&gt;
&lt;p&gt;Using any other http module break the pipeline,&lt;/p&gt;
&lt;p&gt;Any news regarding the fix ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1886677.aspx</link><pubDate>Wed, 03 Dec 2008 21:45:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886677</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1886677.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1886677</wfw:commentRss><description>&lt;p&gt;We are currently planning to fix this in windows server 2008 R2&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1886619.aspx</link><pubDate>Wed, 03 Dec 2008 10:29:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886619</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1886619.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1886619</wfw:commentRss><description>We wanted to use it for testing purposes as our internal product. I do not think that will escalate it to an appropriate level for you to generate a hotfix. When will it possible to use ARR in such way? What version of ASP.NET or IIS you think will fix this bug?</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1885838.aspx</link><pubDate>Mon, 24 Nov 2008 22:09:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885838</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1885838.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1885838</wfw:commentRss><description>&lt;p&gt;No, that is not the cause.&amp;nbsp; The cause for the error is now understood and we are planning to fix it for the next version of IIS/ASP.Net.&amp;nbsp; If you would like a hotfix for the current version of IIS/ASP.Net, can you explain&amp;nbsp;why you want to use a managed module with ARR&amp;nbsp;in more detail?&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1885301.aspx</link><pubDate>Wed, 19 Nov 2008 00:23:35 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885301</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1885301.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1885301</wfw:commentRss><description>&lt;p&gt;Thank you for your answer. Please take a look at my though here: &lt;a href="http://forums.iis.net/p/1153181/1885282.aspx#1885282"&gt;http://forums.iis.net/p/1153181/1885282.aspx#1885282&lt;/a&gt;&amp;nbsp;Is it correct?&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1885289.aspx</link><pubDate>Tue, 18 Nov 2008 23:11:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885289</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1885289.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1885289</wfw:commentRss><description>&lt;p&gt;Sorry, could not look at this earlier.&amp;nbsp; I am able to repro this now, seems like a&amp;nbsp;null reference exception&amp;nbsp;in asp.net - I am following up with the asp.net team.&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1884336.aspx</link><pubDate>Mon, 10 Nov 2008 22:13:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1884336</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1884336.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1884336</wfw:commentRss><description>Any ideas? Need more information?&lt;br /&gt;
More comments. When I set any (even empty) managed module and set up URL rewriter together with ARR I get 400.0 error whith &amp;quot;ASP.NET detected invalid characters in the URL&amp;quot;. .NET framework code analysis shows that the HttpContext.Current.Request has no fields filled.&lt;br /&gt;
Seems that URL Rewrute and ARR do not allow to use any managed module together with them. Am I wrong?&lt;br /&gt;
I can create dump of the process on exception, provide settings of my IIS, provide more information that can be helpfull to find the root cause of the problem.&lt;br /&gt;
Hope your help. Thanks in advance</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1884098.aspx</link><pubDate>Fri, 07 Nov 2008 18:05:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1884098</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1884098.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1884098</wfw:commentRss><description>One more problem

I&amp;#39;ve made everythink you say - set rule below for Url rewriter, no settings to ARR. And I&amp;#39;ve added my managed module to analyze all requests. And it has worked for some time... But after some manipulations (seems that I did nothing special with it) my module fails every request.
&lt;br /&gt;&lt;br /&gt;

Details of failure:&lt;br /&gt;
1. IIS calls method Init of my module&lt;br /&gt;
2. IIS writes following to the application event log:&lt;br /&gt;&lt;br /&gt;

Event code: 3005 &lt;br /&gt;
Event message: An unhandled exception has occurred. &lt;br /&gt;
Event time: 11/7/2008 8:50:34 PM &lt;br /&gt;
Event time (UTC): 11/7/2008 5:50:34 PM &lt;br /&gt;
Event ID: e57bcc4779884d99b2df5a568f11c141 &lt;br /&gt;
Event sequence: 2 &lt;br /&gt;
Event occurrence: 1 &lt;br /&gt;
Event detail code: 0 &lt;br /&gt;
 &lt;br /&gt;
Application information: &lt;br /&gt;
    Application domain: /LM/W3SVC/1/ROOT-1-128705538346767737 &lt;br /&gt;
    Trust level: Full &lt;br /&gt;
    Application Virtual Path: / &lt;br /&gt;
    Application Path: C:\inetpub\wwwroot\ &lt;br /&gt;
    Machine name: TEST &lt;br /&gt;
 &lt;br /&gt;
Process information: &lt;br /&gt;
    Process ID: 4116 &lt;br /&gt;
    Process name: w3wp.exe &lt;br /&gt;
    Account name: NT AUTHORITY\LOCAL SERVICE &lt;br /&gt;
 &lt;br /&gt;
Exception information: &lt;br /&gt;
    Exception type: NullReferenceException &lt;br /&gt;
    Exception message: Object reference not set to an instance of an object. &lt;br /&gt;
 &lt;br /&gt;
Request information: &lt;br /&gt;
    Request URL:  &lt;br /&gt;
    Request path:  &lt;br /&gt;
    User host address:  &lt;br /&gt;
    User:  &lt;br /&gt;
    Is authenticated: False &lt;br /&gt;
    Authentication Type:  &lt;br /&gt;
    Thread account name: NT AUTHORITY\LOCAL SERVICE &lt;br /&gt;
 &lt;br /&gt;
Thread information: &lt;br /&gt;
    Thread ID: 5 &lt;br /&gt;
    Thread account name: NT AUTHORITY\LOCAL SERVICE &lt;br /&gt;
    Is impersonating: False &lt;br /&gt;
    Stack trace:    at System.Web.Security.CookielessHelperClass.RemoveCookielessValuesFromPath()&lt;br /&gt;
   at System.Web.HttpContext.Init(HttpRequest request, HttpResponse response)&lt;br /&gt;
   at System.Web.HttpContext..ctor(HttpWorkerRequest wr, Boolean initResponseWriter)&lt;br /&gt;
   at System.Web.Hosting.PipelineRuntime.CreateContext(IIS7WorkerRequest wr, IntPtr nativeRequestContext)&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 3. If I remove my module from the list - it starts working as proxy.
&lt;br /&gt;

It seems that the rule was executed, but managed context can&amp;#39;t be created. Also I suppose that the order of modules can influence on it. &lt;br /&gt;&lt;br /&gt;

What do you think about it? Thanks in advance.</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1883624.aspx</link><pubDate>Mon, 03 Nov 2008 17:14:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1883624</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1883624.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1883624</wfw:commentRss><description>&lt;p&gt;The authentication problem with ARR TP1 is fixed in the upcoming RC release - I don&amp;#39;t know what problem your handler has.&lt;/p&gt;</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1883478.aspx</link><pubDate>Sat, 01 Nov 2008 16:42:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1883478</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1883478.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1883478</wfw:commentRss><description>Ok! great! Thats what I need.

But! I&amp;#39;ve written almost the same myself using managed IIS Handler. Actually it&amp;#39;s great to have IIS7&amp;#39;s power in hand.

The problem in ARR as proxy and my module - incorrect behavior when authentication is required. As far as I understand if I set proxy in IE - it starts send header proxy-connection instead of connection. And so, after server responds &amp;quot;401&amp;quot; no windows with login/password request is shown.

Do you know the workaround?</description></item><item><title>Re: ARR as a proxy</title><link>http://forums.iis.net/thread/1883245.aspx</link><pubDate>Wed, 29 Oct 2008 16:57:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1883245</guid><dc:creator>anilr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1883245.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1883245</wfw:commentRss><description>&lt;p&gt;Your rule would look like below&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;lt;rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;globalRules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;rule name=&amp;quot;Proxy&amp;quot; patternSyntax=&amp;quot;Wildcard&amp;quot; stopProcessing=&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;match url=&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;conditions&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 input=&amp;quot;{HTTP_HOST}&amp;quot; pattern=&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;/conditions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;action type=&amp;quot;Rewrite&amp;quot; url=&amp;quot;&lt;a href="http://{C:0}/{R:0"&gt;http://{C:0}/{R:0&lt;/a&gt;}&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/rule&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/globalRules&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/rewrite&amp;gt;&lt;/p&gt;
&lt;p&gt;note that you can only use ARR for http forward&amp;nbsp;proxy and not https forward&amp;nbsp;proxy because we do not support the CONNECT verb.&lt;/p&gt;</description></item><item><title>ARR as a proxy</title><link>http://forums.iis.net/thread/1883223.aspx</link><pubDate>Wed, 29 Oct 2008 12:17:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1883223</guid><dc:creator>k_sega</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1883223.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1154&amp;PostID=1883223</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m still looking for a way to use IIS like a proxy. Actually I want to create module for additional analysis of html code, that goes thru that proxy.&lt;/p&gt;
&lt;p&gt;In the article &lt;a href="http://blogs.iis.net/wonyoo/archive/2008/07/26/relationship-between-application-request-routing-and-url-rewrite-modules.aspx"&gt;http://blogs.iis.net/wonyoo/archive/2008/07/26/relationship-between-application-request-routing-and-url-rewrite-modules.aspx&lt;/a&gt;&amp;nbsp;the author writes that ARR checks whether the URL matches any server group name. In case if it does not match it is&amp;nbsp;working as proxy.&lt;/p&gt;
&lt;p&gt;So, I do following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Set no rules for URL rewriter&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Set no server groups for ARR&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Set proxy in LAN settings of connection tab to 127.0.0.1:80&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Go to microsoft.com and see IIS7 welcome page.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;Then I&amp;#39;ve tried to create one rule for URL rewriter - wildcard:* and action {R:0}&lt;/p&gt;
&lt;p&gt;And it seems that ARR does not works again.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can you describe how to use ARR as proxy more detailed please. Thanks in advance.&lt;/p&gt;</description></item></channel></rss>