Handler "DataFlex 20.1 Web Services 64bit" has a bad module "IsapiModule" in its module list

From DataFlex Wiki
Jump to navigationJump to search

If you use DataFlex 20.x to create webservices and not webapps that have a fancy new interface using the WebApp framework then you might bump into the following problem.

  • WebApps such as "WebOrderMobile" work fine
  • Your WebServices using only the cWebAppBasic framework do not work.

You're getting the following error when you try to browse to a .wso file.


File:Bad-module-ISAPI-module.png


"HTTP Error 500.21 - Internal Server Error Handler "DataFlex 20.1 Web Services 64bit" has a bad module "IsapiModule" in its module list"

This error actually gives a hint, but as the normal modules in IIS look fine and the same as in normal webapps you might be puzzled like I was.

It wasn't until I ran DataFlex WebApp Check that it dawned upon me what was wrong.

The cBasicWebApp class depends on IIS ASP Classic which installs ISAPI modules!

Normally the DataFlex 20.1 installer takes care of that, but in case it did not, or if IIS was pre configured and you bump in the above error. Then now you know what to do.

So follow the steps from the DataFlex WebApp Check application to install that and your problems are solved.