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

From DataFlex Wiki
Revision as of 14:53, 21 July 2022 by Wil (talk | contribs)
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!

Note that while DataFlex 20.1 installs and configures IIS on your behalf, it _does_not_ configure ASP/IIS classic.

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