<?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>IIS7 - Extensibility</title><link>http://forums.iis.net/1042.aspx</link><description>Problems developing a IIS 7 module using Native or Managed code - come here for help from the experts.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: urlrewriting httpmodule on IIS7 not being called -newbie-ish</title><link>http://forums.iis.net/thread/1642471.aspx</link><pubDate>Thu, 29 Mar 2007 08:49:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1642471</guid><dc:creator>pault</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1642471.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1642471</wfw:commentRss><description>&lt;P&gt;Thanks for the suggestions, I tried to enable tracing but have limited access as it's a hosted account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I had also read the article by Scott Guthrie, that was where I got the idea from.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;U&gt;BUT&lt;/U&gt; it was a stupid mistake on my part..I was checking the 3rd element of an array instead of the 2nd - happens to the best of us no? - not that I would know of course!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Extensionless url rewriting now works fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Thanks again for your time guys.&lt;/P&gt;
&lt;P&gt;pault&lt;/P&gt;</description></item><item><title>Re: urlrewriting httpmodule on IIS7 not being called -newbie-ish</title><link>http://forums.iis.net/thread/1642074.aspx</link><pubDate>Thu, 29 Mar 2007 02:20:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1642074</guid><dc:creator>steve schofield</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1642074.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1642074</wfw:commentRss><description>&lt;P&gt;I can't speak to if the server is blocking it.&amp;nbsp; I would verify each step is being called in the integrated pipeline.&amp;nbsp; Here is a good article written by Scott Gutrhie.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx&lt;/A&gt;&lt;/P&gt;</description></item><item><title>Re: urlrewriting httpmodule on IIS7 not being called -newbie-ish</title><link>http://forums.iis.net/thread/1641169.aspx</link><pubDate>Wed, 28 Mar 2007 15:04:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1641169</guid><dc:creator>ksingla</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1641169.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1641169</wfw:commentRss><description>&lt;P&gt;Probably your module got called but URL rewriting didn't happen. What API are you using to for rewriting? Also can you enable tracing and verify that your module is called? &lt;A href="http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=969&amp;amp;p=3"&gt;http://www.iis.net/default.aspx?tabid=2&amp;amp;subtabid=25&amp;amp;i=969&amp;amp;p=3&lt;/A&gt;&amp;nbsp;explains how to enable tracing for your site.&lt;/P&gt;</description></item><item><title>urlrewriting httpmodule on IIS7 not being called -newbie-ish</title><link>http://forums.iis.net/thread/1640422.aspx</link><pubDate>Wed, 28 Mar 2007 07:21:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1640422</guid><dc:creator>pault</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1640422.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1042&amp;PostID=1640422</wfw:commentRss><description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I posted this on the ASP.NET forums but with no response as yet. I am using maximumasp's IIS 7 Beta 2 trial to try and test some app features.&lt;/P&gt;
&lt;P&gt;I have written a very simple httpmodule to fire on the BeginRequest event and redirect based on the incoming request url. &lt;/P&gt;
&lt;P&gt;It works fine on my dev machine (XP Pro)&amp;nbsp; but when I deploy it,&amp;nbsp;the module&amp;nbsp;doesn't get called. I know in IIS6 you can map all incoming requests to be handled by asp.net but I was under the impression that in IIS7 you can just add the following to the web config to get the httpmodule to be called.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT face=arial size=2&gt;&lt;FONT color=black&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;FONT color=blue&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=maroon&gt;modules&lt;/FONT&gt;&lt;FONT color=red&gt;&amp;nbsp;runAllManagedModulesForAllRequests&lt;/FONT&gt;&lt;FONT color=blue&gt;="true"&amp;gt;&lt;/FONT&gt;&lt;FONT color=black&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=maroon&gt;add&lt;/FONT&gt;&lt;FONT color=red&gt;&amp;nbsp;name&lt;/FONT&gt;&lt;FONT color=blue&gt;="UrlRewriter"&lt;/FONT&gt;&lt;FONT color=red&gt;&amp;nbsp;type&lt;/FONT&gt;&lt;FONT color=blue&gt;="&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=arial size=2&gt;&lt;FONT color=blue&gt;UrlRewriter&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=arial size=2&gt;&lt;FONT color=blue&gt;"&lt;/FONT&gt;&lt;FONT color=red&gt;&amp;nbsp;&lt;/FONT&gt;&lt;FONT color=blue&gt;/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/FONT&gt;&lt;FONT color=maroon&gt;modules&lt;/FONT&gt;&lt;FONT color=blue&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All I get is a 404 which is what I would have expected with IIS6 but not IIS7.&lt;/P&gt;
&lt;P&gt;/* EDIT&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think it may be something to do with the fact that is running as a hosted web core applicationa and may need some special configuration but I don't know what it is!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;here's the error:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;/P&gt;
&lt;H1&gt;Server Error in Application "xxxxxxx"&lt;/H1&gt;
&lt;HR&gt;

&lt;H2&gt;&lt;I&gt;HTTP Error 404.0 - Not Found&lt;/I&gt;&lt;/H2&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Description:&lt;/FONT&gt;&lt;/B&gt; The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Error Code:&lt;/FONT&gt;&lt;/B&gt; 0x80070002 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Notification:&lt;/FONT&gt;&lt;/B&gt; MapRequestHandler 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Module:&lt;/FONT&gt;&lt;/B&gt; IIS Web Core 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Requested URL:&lt;/FONT&gt;&lt;/B&gt; &lt;A href="http://xxxxxxx.maximumaspbeta.com/test123"&gt;http://xxxxxxx.maximumaspbeta.com:80/test123&lt;/A&gt; 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Physical Path:&lt;/FONT&gt;&lt;/B&gt; m:\web\users\xxxxxxx\wwwroot\test123 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Logon User:&lt;/FONT&gt;&lt;/B&gt; Anonymous 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Logon Method:&lt;/FONT&gt;&lt;/B&gt; Anonymous 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Failed Request Tracing Log Directory:&lt;/FONT&gt;&lt;/B&gt; &lt;A&gt;m:\web\users\xxxxxx\logs\failedreqlogfiles&lt;/A&gt; 
&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Handler:&lt;/FONT&gt;&lt;/B&gt; StaticFile &lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;Anyone have any ideas?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;pault&lt;/P&gt;</description></item></channel></rss>