@discussions.microsoft.com>
2008-04-14 14:48:01 UTC
We have an application that is supported on IIS 6.0 and 5.0. Now, we are
facing an issue in configuring this application with IIS 7.0 on Win2K8. This
application works as an ISAPI extension. We tried a few things, but are not
able to load the ISAPIapp.dll in the IIS web-server. We have tried the
following things:
First, we added ISAPIapp.dll as an ISAPI filter in the “website”, and added
the Handler Mapping for ISAPIapp.dll at the server level in “inetmgr”. On
doing so we are getting an error, “HTTP Error 500.0 - Internal Server Error,
Calling LoadLibraryEx on ISAPI filter "C:\Program
Files\...\application\bin\ISAPIapp.dll" failed. Error Code 0x8007007e”.
On doing some research on this error, it says that either “the dll is
incorrect” or “IIS received the request; however, an internal error occurred
during the processing of the request. The root cause of this error depends on
which module handles the request and what was happening in the worker process
when this error occurred”.
Then on further research we found that the architecture of IIS 7.0 is quite
different from that of IIS 6.0. A Microsoft TechNet article says that “In IIS
7.0, modules replace the functionality that ISAPI filters provided in IIS
6.0. However, you can still add ISAPI filters if you require the
functionality that they provide.”
Hence we enabled the ISAPIModule and ISAPIFilterModule in the “inetmgr”.
Now, these modules are Native Modules in IIS 7.0. On changing these modules
in the inetmgr and providing the path to the ISAPIapp.dll, IIS stopped
responding, and started giving HTTP Error 503.
Now the problem is that on loading ISAPIapp.dll as ISAPI filter, it says
that the dll is not correct, while if we try to configure it through modules,
then the IIS does not start correctly.
facing an issue in configuring this application with IIS 7.0 on Win2K8. This
application works as an ISAPI extension. We tried a few things, but are not
able to load the ISAPIapp.dll in the IIS web-server. We have tried the
following things:
First, we added ISAPIapp.dll as an ISAPI filter in the “website”, and added
the Handler Mapping for ISAPIapp.dll at the server level in “inetmgr”. On
doing so we are getting an error, “HTTP Error 500.0 - Internal Server Error,
Calling LoadLibraryEx on ISAPI filter "C:\Program
Files\...\application\bin\ISAPIapp.dll" failed. Error Code 0x8007007e”.
On doing some research on this error, it says that either “the dll is
incorrect” or “IIS received the request; however, an internal error occurred
during the processing of the request. The root cause of this error depends on
which module handles the request and what was happening in the worker process
when this error occurred”.
Then on further research we found that the architecture of IIS 7.0 is quite
different from that of IIS 6.0. A Microsoft TechNet article says that “In IIS
7.0, modules replace the functionality that ISAPI filters provided in IIS
6.0. However, you can still add ISAPI filters if you require the
functionality that they provide.”
Hence we enabled the ISAPIModule and ISAPIFilterModule in the “inetmgr”.
Now, these modules are Native Modules in IIS 7.0. On changing these modules
in the inetmgr and providing the path to the ISAPIapp.dll, IIS stopped
responding, and started giving HTTP Error 503.
Now the problem is that on loading ISAPIapp.dll as ISAPI filter, it says
that the dll is not correct, while if we try to configure it through modules,
then the IIS does not start correctly.