<?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>Extensibility</title><link>http://forums.iis.net/1030.aspx</link><description>Developers using the IIS platform - this is your Home!  Discuss ISAPI filter or extension development and much, much more.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>ISAPI Redirect</title><link>http://forums.iis.net/thread/1917936.aspx</link><pubDate>Wed, 23 Sep 2009 13:31:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917936</guid><dc:creator>KeithBertram</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1917936.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1917936</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;ve written an ISAPI filter to redirect pages under certain conditions. If the filter redirects to a simple HTML file, it works as expected. If I attempt to redirect to a more complex ASP.NET 2.0 web page (.aspx), then I get an error 403, Forbidden: Access is denied. &lt;/p&gt;&lt;p&gt;I&amp;#39;m using IIS6 under Windows Server 2003.&lt;/p&gt;&lt;p&gt;If I remove my ISAPI filter, the ASP.NET page displays correctly. It only fails if it is opened from a redirection within my ISAPI filter.&lt;/p&gt;&lt;p&gt;I&amp;#39;m using the following code inside my ISAPI filter (OnPreProcHeaders function):&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pHeaderInfo-&amp;gt;SetHeader(pCtxt-&amp;gt;m_pFC, &amp;quot;url&amp;quot;, newUrlString);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return SF_STATUS_REQ_HANDLED_NOTIFICATION;&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Keith &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>PROPFIND to respond in a timely manner. How?</title><link>http://forums.iis.net/thread/1919040.aspx</link><pubDate>Wed, 30 Sep 2009 18:05:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919040</guid><dc:creator>vsoro00</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1919040.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1919040</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Our custom isapi is handling PROPFIND requests from our clients. We would like to decrease response time. The whole response might take a lot of time&amp;nbsp;when folder that we are sending PROPFIND request&amp;nbsp;for contains a lot of files/folders.&amp;nbsp;Currently&amp;nbsp;we&amp;nbsp;send&amp;nbsp;response through ServerSupportFunction&amp;nbsp;in a response&amp;nbsp;vector which combines info about all files/folders&amp;nbsp;(using&amp;nbsp;HSE_REQ_VECTOR_SEND parameter).&lt;/p&gt;
&lt;p&gt;We&amp;nbsp;think it&amp;nbsp;might be possible to do this by&amp;nbsp;using WriteClient function and sending&amp;nbsp;data to client - one&amp;nbsp;file (or folder) at a time, perhaps by calling writeclient multiple times. &lt;/p&gt;
&lt;p&gt;Does anyone&amp;nbsp;know (and could provide&amp;nbsp;a code sample which shows) how this&amp;nbsp;is done? &lt;/p&gt;
&lt;p&gt;Thank you so much.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Request without charset in the http-header</title><link>http://forums.iis.net/thread/1924428.aspx</link><pubDate>Thu, 12 Nov 2009 09:08:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924428</guid><dc:creator>DianaGaertner</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1924428.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1924428</wfw:commentRss><description>&lt;p&gt;&lt;a href="mailto:Hi@all"&gt;&lt;font color="#034efa"&gt;Hi@all&lt;/font&gt;&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have a question regarding IIS 5 and 6. We have one WebService, that can be invoke by some applications. They sent a request without charset in the http-header and IIS convert it to US-ASCII, but we need UTF-8.&lt;/p&gt;
&lt;p&gt;If the charset is missing, IIS use an US-ASCII charset by default(see &lt;a href="http://www.ietf.org/rfc/rfc3023.txt"&gt;&lt;font color="#034efa"&gt;http://www.ietf.org/rfc/rfc3023.txt&lt;/font&gt;&lt;/a&gt;, chapter 8.5). Is it possible to configure the IIS to use charset=UTF-8 by default?&lt;/p&gt;
&lt;p&gt;Thanks and kind regards,&lt;/p&gt;
&lt;p&gt;Diana&lt;/p&gt;</description></item><item><title>how to get post date in isapi extension? when data is large.</title><link>http://forums.iis.net/thread/1922281.aspx</link><pubDate>Tue, 27 Oct 2009 05:31:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922281</guid><dc:creator>kylekou</dc:creator><slash:comments>8</slash:comments><comments>http://forums.iis.net/thread/1922281.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1922281</wfw:commentRss><description>&lt;p&gt;HttpExtensionProc(EXTENSION_CONTROL_BLOCK *pECB)&lt;/p&gt;
&lt;p&gt;in this method , how get post data?&lt;/p&gt;
&lt;p&gt;thanks in advance!&lt;/p&gt;</description></item><item><title>IIS 6 ISAPI PlugIn X Forwarded For (XFF)</title><link>http://forums.iis.net/thread/1923045.aspx</link><pubDate>Mon, 02 Nov 2009 10:22:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923045</guid><dc:creator>D Lamboy</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1923045.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1923045</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a big problem concerning the XFF Data of my IIS 6. &lt;/p&gt;
&lt;p&gt;Usually we used IIS 5 with a network card based Loadbalancing. This worked fine with logging the IP Adresses, that requested sites over the IIS.&lt;/p&gt;
&lt;p&gt;After changing to IIS6 and a Hardware Loadbalancer that was set bevor the IIS 6 (there are two IIS6 webservers clustered, that are served with rewuests by the hardware LB), we had the problem that only the IP Adress of the Load Balancer appeared in the log files. &lt;/p&gt;
&lt;p&gt;Therefore our LoadBalancer specialist set on XFF to send the IP Adresses to the IIS Webservers. But here is the problem. I found one application, that could be integrated in the IIS6 via ISAPI Filters ( its the Plug In from Winfrasoft).&lt;/p&gt;
&lt;p&gt;My question now is:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Is there any other Application /ISAPI Plug In that could also serve XFF for Windows IIS 6 Servers? (Best would be an ISAPI that also provides XFF to IIS 5 - 7).&lt;/p&gt;</description></item><item><title>Managed modulde invoked on ASP pages?</title><link>http://forums.iis.net/thread/1921926.aspx</link><pubDate>Fri, 23 Oct 2009 17:53:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921926</guid><dc:creator>cjb3bhl</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1921926.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1921926</wfw:commentRss><description>&lt;p&gt;On IIS7, a managed module can be invoked when both an ASP.NET and regular ASP page is loaded.&amp;nbsp; Can a managed module in IIS6 be invoked by loading an ASP page?&amp;nbsp; If not, is there some kind of module that can be invoked by loading&amp;nbsp;the ASP pages?&lt;/p&gt;</description></item><item><title>Blocking unwanted requests</title><link>http://forums.iis.net/thread/1920895.aspx</link><pubDate>Thu, 15 Oct 2009 15:49:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920895</guid><dc:creator>rsloman</dc:creator><slash:comments>5</slash:comments><comments>http://forums.iis.net/thread/1920895.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1920895</wfw:commentRss><description>&lt;p&gt;Hello guys, long time IIS admin and forum browser, but first time poster!&lt;/p&gt;

&lt;p&gt;I&amp;#39;m currently working on a wildcard ISAPI extension to block unwanted (or undesirable) requests as I found URLScan didn&amp;#39;t meet my needs, and while there are other options available out there I wanted a single more complete package so decided to write one.&lt;/p&gt;

&lt;p&gt;I&amp;#39;ve currently got it to the point where I&amp;#39;m happy for other people to &amp;quot;have a go&amp;quot; with it, details are at http://www.richardsloman.com/other/how_to_block_user_agents_in_iis.asp&lt;/p&gt;

&lt;p&gt;I&amp;#39;d appreciate any comments, positive or otherwise, ideas for what to add etc. It&amp;#39;s currently tuned to my setup, but you can change the settings in the .cf files in notepad. &lt;/p&gt;
</description></item><item><title>ISAPI DLL Firebird with IIS 5.1</title><link>http://forums.iis.net/thread/1920707.aspx</link><pubDate>Wed, 14 Oct 2009 11:39:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920707</guid><dc:creator>mtotora</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1920707.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1920707</wfw:commentRss><description>&lt;p&gt;Hello all.&lt;/p&gt;&lt;p&gt;I have a project that developed in ISAPI dll at C++ Builder 5 that uses the database Firebird. My problem is: i&amp;#39;m not getting to run this project at the IIS 5.1 with Firebird. Which configurations I have to do to configure the database at IIS?&lt;/p&gt;&lt;p&gt;Obs.: Without the database, i get to run the project. &lt;/p&gt;&lt;p&gt;Thanks for help. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>ISAPI is a good choice in this case?</title><link>http://forums.iis.net/thread/1920543.aspx</link><pubDate>Tue, 13 Oct 2009 11:55:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920543</guid><dc:creator>rhxxtb</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1920543.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1920543</wfw:commentRss><description>&lt;p&gt;We have a website builder project,it can build and serve different websites for different internal clients who sit in different countries.&lt;/p&gt;&lt;p&gt;

There are two proposed solutions: &lt;/p&gt;&lt;p&gt;1. Use ISAPI filter which builds everything from scratch instead of using asp.net framework

The reason for this choice is ISAPI can give better performance and can be deployed to apache web server or linux environment.

&lt;/p&gt;&lt;p&gt;The argument for this choice is it basically rebuild everything unnecessary with long time and when it will be deployed to apache or Linux , it still requires Mono.

&lt;/p&gt;&lt;p&gt;2. Use asp.net with some user or custom controls&lt;/p&gt;&lt;p&gt;

The reason for the second choice is it can speed up development and the website can also be deployed to apache and linux with Mono.

&lt;/p&gt;&lt;p&gt;The argument against the second choice is our external senior architect does not have confidence in Mono support for asp.net but he is happy with .Net framework of Mono.&lt;/p&gt;&lt;p&gt;

 I am not comfortable with the first choice because it only increases development time and maintenance time with no substantial benefit.


&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Please share your ideas or any comment. Appreciate any help.







&lt;/p&gt;</description></item><item><title>isapi filter crashes iis</title><link>http://forums.iis.net/thread/1919629.aspx</link><pubDate>Tue, 06 Oct 2009 09:47:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919629</guid><dc:creator>test_win</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1919629.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1919629</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have created an ISAPI filter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;It works fine on development and SIT server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But in production server it doesn&amp;#39;t works.&lt;/p&gt;
&lt;p&gt;In event log the following gets logged&lt;/p&gt;
&lt;div&gt;&lt;font face="Arial" color="#000000"&gt;Reporting queued error: faulting application w3wp.exe, version 6.0.3790.2825, faulting module msvcr80.dll, version 8.0.50727.3053, fault address 0x00046039.&lt;/font&gt;&lt;/div&gt;</description></item><item><title>Life of a Managed Module</title><link>http://forums.iis.net/thread/1919172.aspx</link><pubDate>Thu, 01 Oct 2009 16:05:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919172</guid><dc:creator>cjb3bhl</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1919172.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1919172</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to understand the characteristics of managed modules in IIS.&amp;nbsp; I have the following questions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Can there be more than one instance of the class that defines your managed module running in IIS at the same time?&amp;nbsp; If so, is it one instance per request?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Do you have to worry about synchronization between multiple threads in the managed module event handlers (for instance the Post Authentication Request handler)?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Is the lifetime of a module the same between IIS 6.0 and IIS 7.0?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Rewriting The Header status code ?</title><link>http://forums.iis.net/thread/1918948.aspx</link><pubDate>Wed, 30 Sep 2009 09:30:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918948</guid><dc:creator>abhilala18</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1918948.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1918948</wfw:commentRss><description>&lt;p&gt;When i access a http.//....../images/&amp;nbsp;&amp;nbsp; URL from browser i get following header&lt;/p&gt;&lt;p&gt;&lt;br /&gt;HTTP/1.1 403 Forbidden&lt;br /&gt;Content-Length: 1635&lt;br /&gt;Content-Type: text/html&lt;br /&gt;Server: Microsoft-IIS/6.0&lt;br /&gt;X-Powered-By: ASP.NET&lt;br /&gt;Date: Wed, 30 Sep 2009 07:55:44 GMT&lt;/p&gt;&lt;p&gt;&amp;nbsp;as the Images folder in hidden directory. &lt;/p&gt;&lt;p&gt;Now i need to rewrite the status code in Header as 404 - not&amp;nbsp; found ( App scan standard says that issue a 404 command for hidden directory).&lt;/p&gt;&lt;p&gt;Is there any way to rewrite this HTTPStatus code in IIS???&lt;/p&gt;&lt;p&gt;Thanks-&lt;/p&gt;&lt;p&gt;Abhi &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Adding a new header in ISAPI filter (onPreProc)</title><link>http://forums.iis.net/thread/1024464.aspx</link><pubDate>Thu, 18 Aug 2005 09:10:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1024464</guid><dc:creator>deepak.vasudevan</dc:creator><slash:comments>7</slash:comments><comments>http://forums.iis.net/thread/1024464.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1024464</wfw:commentRss><description>&lt;P&gt;I have an ISAPI filter to listen to particular URL patterns like &lt;A href="http://lavanyadeepak/myblogs/lavanya/"&gt;http://lavanyadeepak/myblogs/lavanya/&lt;/A&gt; &lt;A href="http://lavanyadeepak/myblogs/deepak/"&gt;http://lavanyadeepak/myblogs/deepak/&lt;/A&gt; The filter needs to redirect to a particular webpage called &lt;A href="http://lavanyadeepak/webpagerouter.aspx"&gt;http://lavanyadeepak/webpagerouter.aspx&lt;/A&gt; &lt;BR&gt;&lt;BR&gt;The filter would actually set a header called X-BlogName (to deepak or lavanya or whatever). My WebForm would then read the data from database based on this Header value (Request.Headers collection) and display the appropriate weblog.&lt;BR&gt;&lt;BR&gt;The problem is that ISAPI filter is able to set the Header but the header does not come in the Request.Headers collection in webpagerouter.aspx&lt;BR&gt;&lt;BR&gt;Any idea where it is getting disturbed?&lt;/P&gt;</description></item><item><title>\\?\ path prefix</title><link>http://forums.iis.net/thread/1917696.aspx</link><pubDate>Mon, 21 Sep 2009 15:49:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917696</guid><dc:creator>Hristo Stefanov</dc:creator><slash:comments>6</slash:comments><comments>http://forums.iis.net/thread/1917696.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1917696</wfw:commentRss><description>Hello,&lt;br /&gt;I have an ISAPI mudule that calls a managed C++ DLL. The managed DLL works OK when called from a normal windows application, but I get E0434F4D exception when calling from an ISAPI module. I think the problem is related to the fact that my ISAPI module is loaded from path that starts with \\?\C:\ instead of C:\.&lt;br /&gt;&lt;br /&gt;Does anybody have an idea about the exception or how to disable that path mangling for my ISAPI module?</description></item><item><title>EXTENSION_CONTROL_BLOCK</title><link>http://forums.iis.net/thread/1917957.aspx</link><pubDate>Wed, 23 Sep 2009 15:16:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917957</guid><dc:creator>KeithBertram</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1917957.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1917957</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;What is the best method to uniquely identify a user and/or session while in a ISAPI filter (OnPreprocHeaders hook).&lt;/p&gt;&lt;p&gt;&amp;nbsp;If the answer is to write your own code to do this, can you please supply a psuedo code example?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks, &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Keith &lt;br /&gt;&lt;/p&gt;</description></item><item><title>latest .net bit wrapper</title><link>http://forums.iis.net/thread/1917194.aspx</link><pubDate>Wed, 16 Sep 2009 15:39:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917194</guid><dc:creator>tniner</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1917194.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1917194</wfw:commentRss><description>&lt;p&gt;Is there a .NET wrapper around the latest version (4.0) of BITS?&lt;/p&gt;</description></item><item><title>How to End of the request onSendRawData and send my messeage to client</title><link>http://forums.iis.net/thread/1916245.aspx</link><pubDate>Wed, 09 Sep 2009 08:10:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916245</guid><dc:creator>carlechen</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1916245.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1916245</wfw:commentRss><description>&lt;p&gt;OnSendRawData , I find some keywords in the data, so i want to end of the request and send my message to client, i use these codes:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;pfc-&amp;gt;ServerSupportFunction(SF_REQ_SEND_RESPONSE_HEADER,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;404 Not Found&amp;quot;, (LPDWORD)sm_pszHeader, NULL);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DWORD dwDataLen = (DWORD)_tcslen(sm_pszSvrErr);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return pfc-&amp;gt;WriteClient(sm_pszSvrErr, &amp;amp;dwDataLen);&lt;/p&gt;
&lt;p&gt;return SF_STATUS_REQ_FINISHED&lt;/p&gt;
&lt;p&gt;But i find iis send the &lt;span class="webdict"&gt;original data and my message to the client.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="webdict"&gt;How can i just send my mesage not including&amp;nbsp; &lt;span class="webdict"&gt;original data&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>how to find out whether client's download of a file has ended successfully or failed?</title><link>http://forums.iis.net/thread/1915116.aspx</link><pubDate>Sat, 29 Aug 2009 13:37:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1915116</guid><dc:creator>troy2009</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1915116.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1915116</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I wonder if it is possible to know a file download succeded of failed at the applcation level. I think ISAPI filters should help on this matter. After some research I encounter SF_NOTIFY_END_OF_REQUEST and &lt;span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;SF_NOTIFY_LOG events&lt;strong&gt;.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I will appreciate if you make comments, advise me. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Mehmet&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WriteClient API IIS6.0</title><link>http://forums.iis.net/thread/1914889.aspx</link><pubDate>Thu, 27 Aug 2009 19:58:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914889</guid><dc:creator>bmz_tech</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1914889.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1914889</wfw:commentRss><description>&lt;p&gt;How many threads does&amp;nbsp;IIS use to process the callbacks&amp;nbsp;that are generated&amp;nbsp;when using&amp;nbsp;WriteClient() with the &lt;font size="2"&gt;HSE_IO_ASYNC option?&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Does CGI WebSite invoke OnSendResponse in ISAP Extension</title><link>http://forums.iis.net/thread/1914674.aspx</link><pubDate>Wed, 26 Aug 2009 10:31:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914674</guid><dc:creator>gary_huang_123</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1914674.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1914674</wfw:commentRss><description>&lt;p&gt;i traced the debug information,the cgi application just invoked OnPreprocHeaders&amp;nbsp;&amp;nbsp;, OnUrlMap&amp;nbsp;&amp;nbsp; OnSendRawData ..,but didn&amp;#39;t invoke OnSendResponse.why?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;the flags are set as:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if (pVer-&amp;gt;dwServerFilterVersion &amp;gt;= dwVersion)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pVer-&amp;gt;dwFlags |= SF_NOTIFY_SECURE_PORT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_PREPROC_HEADERS&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_SEND_RESPONSE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_SEND_RAW_DATA&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_NONSECURE_PORT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_END_OF_REQUEST&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_URL_MAP;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pVer-&amp;gt;dwFlags |= SF_NOTIFY_SECURE_PORT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_PREPROC_HEADERS&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_SEND_RESPONSE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_SEND_RAW_DATA&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_NONSECURE_PORT&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_END_OF_REQUEST&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_URL_MAP&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;| SF_NOTIFY_READ_RAW_DATA;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;now i want to set cookies&amp;nbsp;on client machine,but cgi doesn&amp;#39;t invoke OnSendResponse(OnSendReponse construct&amp;nbsp; cookies) ,what should i do?&lt;/p&gt;</description></item><item><title>How to read posted form data in IIS 5.x filter</title><link>http://forums.iis.net/thread/1914589.aspx</link><pubDate>Tue, 25 Aug 2009 17:42:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1914589</guid><dc:creator>brown9</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1914589.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1914589</wfw:commentRss><description>I have a filter (extends CHttpFilter) that registers for SF_NOTIFY_PREPROC_HEADERS in GetFilterVersion(), and OnPreprocHeaders gets called as expected at request-time.&lt;br /&gt;&lt;br /&gt;What I need to do is get access to data that was posted from an HTML form. I&amp;#39;ve tried registering for SF_NOTIFY_READ_RAW_DATA and overriding OnReadRawData, but what happens is that the DLL fails to load. It&amp;#39;s repeatable- it I take out the SF_NOTIFY_READ_RAW_DATA in GetFilterVersion() then the DLL loads (and OnPreprocHeaders is called as normal). If I putback SF_NOTIFY_READ_RAW_DATA, loading fails.&lt;br /&gt;&lt;br /&gt;All I see in the System Log are entries like this:&lt;br /&gt;&lt;br /&gt;Source: W3SVC&lt;br /&gt;Category: None&lt;br /&gt;Type: Error&lt;br /&gt;EventID: 14&lt;br /&gt;User: N/A&lt;br /&gt;&lt;br /&gt;The HTTP Filter DLL C:\path\to\the.dll failed to load.&amp;nbsp; The data is the error.&lt;br /&gt;For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.&lt;br /&gt;&lt;br /&gt;The Data section, showing Words, is&lt;br /&gt;0000: 0000007e&lt;br /&gt;&lt;br /&gt;Using OnReadRawData may not even be sufficient, since I need access to the data in my OnPreprocHeaders, but from the description of the event processing at http://msdn.microsoft.com/en-us/library/ms524855.aspx it looks like when OnPreprocHeaders is called there could still be pending calls to OnReadRawData.&lt;br /&gt;&lt;br /&gt;So better than a callback function like this would be a way to programmatically ask for the incoming data on demand, from within OnPreprocHeaders. I haven&amp;#39;t seen a way to do that in a filter. Is there something I&amp;#39;m missing?&lt;br /&gt;&lt;br /&gt;Thanks for any ideas.&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Problems with IIS 6 Scriptmaps inheritance</title><link>http://forums.iis.net/thread/1913926.aspx</link><pubDate>Tue, 18 Aug 2009 14:55:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913926</guid><dc:creator>liuliu_34</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1913926.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1913926</wfw:commentRss><description>&lt;span style="FONT-SIZE:14pt;"&gt;&lt;font face="Times New Roman"&gt;
&lt;p&gt;&lt;span&gt;&lt;font face="宋体" size="3"&gt;Hello Everybody, &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:24pt;mso-char-indent-count:2.0;"&gt;&lt;font size="3"&gt;&lt;font face="宋体"&gt;&lt;span&gt;Recently I have been installing &lt;/span&gt;&lt;span style="mso-ansi-language:EN;"&gt;ISAPI filter on IIS 6 in Server 2003, using Microsoft Visual Studio 2005. &lt;/span&gt;&lt;span&gt;One thing that seems to trip up me is the Scriptmaps inheritance. I have found that, when I was using Get or Put Function (ADSI Interface)to get or set scriptmaps on websites, it always have been dealing with scriptmaps just from the root of websites, never from its sub-sites even though I do it from every sub-sites. The problem this causes is that, when I have deleted one application maps from one or more sub-sites, next time installing a new application mapping is made at the global level it is not inherited by any site. How can I solve this problem that if I want to inheritance scriptmaps property to sub-sites from the root sites over again next time when I sometimes delete from sub-sites last time? Any Suggestion?&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="TEXT-INDENT:24pt;mso-char-indent-count:2.0;"&gt;&lt;span&gt;&lt;font face="宋体" size="3"&gt;In addition to that, I have found a relevant solution from the site : &lt;/font&gt;&lt;a href="http://www.iis-aid.com/articles/how_to_guides/working_with_iis_6_scriptmaps_inheritance"&gt;&lt;font face="宋体" size="3"&gt;http://www.iis-aid.com/articles/how_to_guides/working_with_iis_6_scriptmaps_inheritance&lt;/font&gt;&lt;/a&gt;&lt;font face="宋体" size="3"&gt;. I also have some question about adsutil.vbs FIND Function. What is the parameters for this function and what is their meanings?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;This solution will output the location of all ScriptMaps properties in your metabase except for the one located in the metabase root. But if I just want to find out some specific scriptmaps, not all scriptmaps, how should I set the parameter for this FIND Fountion, or any other suggestion? &lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;font face="宋体" size="3"&gt;Thanks and Regards,&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="FONT-SIZE:10.5pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-bidi-font-size:12.0pt;mso-font-kerning:1.0pt;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA;"&gt;Elain&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>About ISAPI-Rewrite on my site</title><link>http://forums.iis.net/thread/1913420.aspx</link><pubDate>Thu, 13 Aug 2009 08:26:36 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913420</guid><dc:creator>Jhone</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1913420.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1913420</wfw:commentRss><description>&lt;p&gt;My site is enabled pseudo-static Rewrite, in the IIS console, I also installed the ISAPI plug-Rewrite also shows the opening of the senior level, but still can not display the page, error page has been deleted or does not exist.&lt;/p&gt;
&lt;p&gt;A friend of mine and I understand that the need for IIS console tab of the home directory of the application under which the configuration settings, add the isapi an extension of html, I do not have a good understanding, please friends done in this area for some help!&lt;/p&gt;
&lt;p&gt;Thanks~&lt;/p&gt;</description></item><item><title>forwarding ap post request</title><link>http://forums.iis.net/thread/1911885.aspx</link><pubDate>Wed, 29 Jul 2009 08:04:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1911885</guid><dc:creator>psycodad68</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1911885.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1911885</wfw:commentRss><description>Hi,

I have a client.exe who post a xml to a given url, p.e. www.example.com/ws/dosome.asp. The dosome.asp response with a modified XML. Now i&amp;#39;ve rewritten the dosome.asp as a ISAP Extension (dosome.dll). 
I want now forwarding the xml Posted to www.example.com/ws/dosome.asp to www.example.com/ws/extensions/dosome.dll an versa.

How that could be done?</description></item><item><title>ISAPI Filter for ASP Authorization</title><link>http://forums.iis.net/thread/1912946.aspx</link><pubDate>Sun, 09 Aug 2009 10:08:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912946</guid><dc:creator>hquangthinh</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1912946.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1030&amp;PostID=1912946</wfw:commentRss><description>&lt;p&gt;Hi experts,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m facing a problem with secure ASP application. I have thounsands of ASP pages, now I have to restrict access to certains of ASP pages.&amp;nbsp; I have 2 options&lt;/p&gt;
&lt;p&gt;- Develop an ISAPI filter to handle this. I&amp;#39;ll store the access rules in xml or database, my filter then read the rules and do authorization.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;- Develop a common asp file, then include this file to ASP page where I need to check authorization.&lt;/p&gt;
&lt;p&gt;I think ISAPI filter is a better solution, but my concern is whether using ISAPI filter to do this is the correct way because when I read on ISAPI documentation, the recommendation is that we should not use ISAPI filter to process long running operation like querying database.&lt;/p&gt;
&lt;p&gt;Thank you for any advice on my problem.&lt;/p&gt;
&lt;p&gt;Thinh&lt;/p&gt;</description></item></channel></rss>