Article ID 2469
Article Title ERROR: 5120 - HTTP Error 500.21 - Internal Server Error
Article URL http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2469
KBase Category DataFlex
Date Created 08/17/2013
Last Edit Date 06/24/2016


Article Text
PROBLEM:
I am running the Studio on Windows 8 32 bits. My Ajax web application was not running, so I turned off "Show friendly HTTP error messages" (IE - Internet Options | Advanced tab) on my browser and this is what I see:

Received HTTP error
Error:5120

Target: WebServiceDispatcher.wso
Full URL: /WebOrder_17_1/WebServiceDispatcher.wso/LoadWebApp/JSON
Status code: 500
Status text: Internal Server Error
--------------------------------------------------------------------------------
HTTP Error 500.21 - Internal Server Error

Handler "AboMapperCustom-784280" has a bad module "IsapiModule" in its module list

Most likely causes:
Managed handler is used; however, ASP.NET is not installed or is not installed completely.
There is a typographical error in the configuration for the handler module list.
During application initialization, either the application initialization feature has set skipManagedModules to true, or a rewrite rule is setting a URL that maps to a managed handler and is also setting SKIP_MANAGED_MODULES=1.

Things you can try:
Install ASP.NET if you are using managed handler.
Ensure that the handler module's name is specified correctly. Module names are case-sensitive and use the format modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule".
Ensure that any application initialization rewrite rules set SKIP_MANAGED_MODULE=0 when setting a URL that maps to a managed handler (such as .aspx, for example.)
As an alternative, ensure that application initialization rewrite rules map the request to an unmanaged handler (for example, to an .htm file, which is mapped to the StaticFileHandler.)


Detailed Error Information:

Module
   IIS Web Core

Notification
   ExecuteRequestHandler

Handler
   AboMapperCustom-784280

Error Code
   0x8007000d

Requested URL
   http://localhost:80/WebOrder_17_1/WebServiceDispatcher.wso/LoadWebApp/JSON

Physical Path
   C:\Visual DataFlex 17.1 Examples\WebOrder\AppHTML\WebServiceDispatcher.wso\LoadWebApp\JSON

Logon Method
   Anonymous

Logon User
   Anonymous


What is wrong?


SOLUTION:
The error indicates that there is a problem with an "IsapiModule" and that can be caused when ISAPI Extensions are not installed on the machine.

To fix this error, you will need to install the ISAPI Extensions on your web application server:

- Open Programs and Features from the Control Panel
- Click on Turn Windows features on or off
- Expand Internet Information Services | World Wide Web Services | Application Development Features
- Select ISAPI Extensions
- Click OK

After installing the extensions, that error should not occur.


Contributed By:
Marcia Booth
Company: Data Access Worldwide
Web Site: http://www.dataaccess.com

Links Related to this Article
DAW Knowledge Base article 2461: ERROR: Error 5120 Unhandled Program Error on the client Received
Development Team Blog - Adjusting Server Settings prior to installing Visual DataFlex
Microsoft - The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0

Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2024 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.