Fixing “Calling LoadLibraryEx on ISAPI filter v4.0.30319 aspnet_filter.dll failed”

I ran into this adding a new site to my 64 bit machine, and because I haven’t had my morning coffee, I forgot to set “enable 32 bit applications” in the app pool.

If your code is built for 32 bit only (maybe you use mixed mode dll’s somewhere or call into native and can’t be 64 bit for whatever reason), make sure the app pool of your application is set to 32 bit mode.… Read the rest