Unofficial Content

HTTP Error 500.21 Internal Server Error

Case 1

El controlador "GeneXus.HttpHandlerFactory.HandlerFactory" tiene una condición previa incorrecta "ManagedPipelineHandler" en su lista de módulos

Reasons/Solutions:

It is give error in IIs 7.0 or higher (i.e. Win7 or Win2003). It happens because there is running over Managed Pipeline Mode = Classic ( AppPool Property) but the applicaction property IIS version is setting to IIS 6 or lower. 
In order to solve you could 
             1. Change the Managed Pipeline Mode, Application POOL property to "Integrated" or 
             2. Change the "IIS version" property to IIS7 and Build at least one object
             3. Check if ASP.NET is properly installed. Try running the following command:
       %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

Case 2

Executing a REST service, for example

http://server/applicationname/customerdate bc.svc/rest/46
{
  "TrnCustomersId" : 46,
  "TrnCustomersDate" : "2011-07-07",
  "TrnCustomersTime" : "0001-01-01T13:59:17",
  "gx md5 hash" : "EADF42E06DE8290D1B458B2499AC0421"
}

details the following error:

HTTP Error 500.21 - Internal Server Error
Handler "WebDAV" has a bad module "WebDAVModule" in its module list
Detailed Error Information
Module    IIS Web Core
Notification    ExecuteRequestHandler
Handler    WebDAV
Error Code    0x8007000d

 

Reasons/Solutions:

Solution 1

Turn off the WebDAV Publishing option from the Windows Features section (Internet Information Services \ World Wide Web Services \ Common HTTP Features).

Solution 2

  • Reinstall IIS 
  • Execute the ServiceModelreg.exe executable
  • Repare IIS Url Rewrite 2

 

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant