Run a 32-bit ISAPI DLL on 64-bit IIS 7

by timvasil 11/23/2007 9:25:00 PM

I knew this would be challenging, but the worst part of getting a 32-bit ISAPI DLL running in the 64-bit version of IIS 7 is the really crummy UI.  Here are the steps:

Allow the ISAPI DLL

  1. With the root node selected (the computer name), double-click Isapi & CGI Restrictions
  2. Click Add... on the sidebar
  3. Type/browse for the path to your ISAPI DLL.
  4. Check Allow extension path to execute.

Create a 32-bit Application Pool

  1. With the Application Pools node selected, click Add Application Pool... on the sidebar.
  2. Type in a name and choose the Classic pipeline. 
  3. Opt not to start the pool immediately.
  4. Click OK.
  5. Select the new pool.
  6. Click Advanced Settings... on the sidebar.
  7. Change Managed Pipeline Mode (General category) to True.
  8. Start the pool.

Create the Application

  1. Right click on the Web Sites > Default Web Site node and click Add Application...
  2. Choose the alias, application pool, and physical path.  The application pool you choose should be the 32-bit one you just created.

Allow ISAPI DLLs to Execute within the Application

  1. Select the application node in the tree view and double click Hander Mappings.
  2. Click Add Script Map...
  3. Type a request path of *.dll, select the IsapiModule module, and give it a name.
  4. Click OK.

Note:  You can also enable the existing ISAPI entry at the Default Web Site level, or enable feature delegate for ISAPI Filters at the root node (computer) level and then edit it at the application level.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

IIS | ISAPI

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag





Live preview

11/22/2008 6:02:00 AM

 

About the author

Tim Vasil Tim Vasil
I'm a software engineer living in Cambridge, MA.

E-mail me Send mail

Search

Calendar

<<  November 2008  >>
MoTuWeThFrSaSu
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

View posts in large calendar

Recent comments