Yesterday while setting up a website on IIS 7 and Windows Server 2008, I loaded the website in a browser and got the following error message:
LoadLibraryEx call in ISAPI filter C: isapi.dll failed
The path was to the isapi.dll file in C: Program Files etc and I was sure everything was set up correctly. After doing a little research on this topic, I realized that since I am running IIS 7 on a 64-bit version of Windows Server and my web application was 32-bit, I had to change a setting in the IIS configuration.
To fix this problem, all you have to do is open IIS7 and click on Application Pools.
Then right-click the application pool for your website or the default application pool and go to the Advanced Settings tab. Make sure Include 32-bit applications is set to True.
This is it! Now restart IIS and load Internet Explorer again and your site should load fine.