IIS 7 and Above
Error loading ISAPI filter
Last post Dec 23, 2011 03:44 PM by cstobbe
Dec 22, 2011 09:28 PM|cstobbe|LINK
I am getting IIS set up on a new WS2008 x64 R2 machine. The intention is for it to be a duplicate of another WS2008 x64 (not R2) that has been running for a few years.
We have an ISAPI filter written in-house that is failing to load. When IE loads any page, this error is displayed:
HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\Windows\SysWOW64\inetsrv\CustomFilter.dll" failed
The Application event log contains this event:
Log Name: Application
Date: 2011/22/12 2:56:50 PM
Event ID: 33
Task Category: None
Activation context generation failed for "C:\Windows\SysWOW64\inetsrv\CustomFilter.dll". Dependent Assembly Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195" could not be found. Please use
sxstrace.exe for detailed diagnosis.
sxstrace.exe reports: "ERROR: Cannot resolve reference Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"."
Microsoft Visual C++ 2005 Redistributable is installed.
Can anyone help identify what is preventing this ISAPI filter from loading?
Dec 23, 2011 01:42 AM|lextm|LINK
Dec 23, 2011 03:44 PM|cstobbe|LINK
The version number "8.0.50727.6195" refers to a patched version,
http://support.microsoft.com/kb/2538242. Can you install that update on this machine and try again?
Yes, that was it. It's a little confusing because there is more than 1 "vcredist_x86.exe". If the file name contained a version number, that might have lead me to wonder if I was using the wrong version.
Thank you for your answer, Lex. You have sustained my faith that this forum can be a source of solutions.