ColdFusion vs. IIS7.5 – Application Pool

If you’re trying to get ColdFusion (particularly CF8 and CF9) working on a 64bit Windows machine using IIS7 or IIS7.5 you may encounter an error like this:

[box type=”warning”] HTTP Error 500.0 – Internal Server Error The page cannot be displayed because an internal server error has occurred. Detailed Error Information[/box]

 

Module IsapiModule
Notification ExecuteRequestHandler
Handler AboMapperCustom-58087
Error Code 0x800700c1
Requested URL http://aftershox:80/
Physical Path c:\web\aftershox
Logon Method Anonymous
Logon User Anonymous
One possibility is the Application Pool setting doesn’t match CF/Java:
  • IIS Application pool is 64bit and CF is 32bit, or;
  • IIS Application pool is set to 32bit and CF is 64bit.
To correct this, pull up the Advanced settings for the IIS site in question and check which Application Pool it’s set to use:
Then, in the IIS Manager:
  1. Switch to the Application Pools list.
  2. Click on the required Application Pool identified earlier.
  3. Select Advanced Settings
  4. Set the Enable 32-Bit Applications to True for 32 bit CF, or False for 64 bit CF (see next image).
Written by Tariq Ahmed