Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Isapi filter not working on IIS 7 (which did work on IIS 6)

I have an Isapi dll which performs some basic URL rewriting. It works fine on II6. However, now my dev machine has been upgraded to Windows 7, I cannot get it to work under IIS 7

Is there anything special that needs to be done to get this to work?

The website is running the Classic ASP pipeline app pool (although I have tried both)

Any suggestions on how to get this resolved?

thanks a lot

p.s rewriting it as a module/handler is not an option. I only want to know how to get the existing dll to work on IIS 7.

like image 342
ChrisCa Avatar asked Sep 24 '09 09:09

ChrisCa


People also ask

How do I enable ISAPI DLL in IIS 7?

Windows Vista or Windows 7In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. In the Windows Features dialog box, expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select CGI or ISAPI Extensions, and then click OK.

How do I add an ISAPI filter to IIS 7?

In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. On the Select Role Services page of the Add Role Services Wizard, select ISAPI Filters, and then click Next. On the Confirm Installation Selections page, click Install. On the Results page, click Close.

What are the implications of running ISAPI filters?

Possible Uses for ISAPI FiltersControl which physical file gets mapped to the URL. Control the user name and password used with anonymous or basic authentication. Modify or analyze a request after authentication is complete. Modify a response going back to the client.

What is the use of ISAPI filter in IIS?

ISAPI filters are used to modify or enhance the functionality provided by IIS. They always run on an IIS server and filter every request until they find one they need to process. Filters can be programmed to examine and modify both incoming and outgoing streams of data.


1 Answers

Solved. I am running the 64 bit version of Windows 7 so needed to change one of the options on the app pool "Allow 32-bit applications"

like image 197
ChrisCa Avatar answered Sep 21 '22 08:09

ChrisCa