Skip to main content


 

Symptoms

 


Getting this error when I try to access K2 Workspace from K2 Server locally on the server:

 

HTTP Error 500.21 - Internal Server Error Handler "StaticFile" has a bad module "DefaultDocumentModule" 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.

 

 

 

Also getting the following error after first error was resolved:

 

HTTP Error 500.21 error: "Handler "PageHandlerFactory-ISAPI-2.0-64" has a bad module "IsapiModule" in its module list"
 

 

Diagnoses

 


The first issue was caused by DefaultDocumentModule module was not installed on the server.

 

 

 

The second issue was caused by missing the following modules in IIS > Server > Modules:

 

-IsapiFilterModule

 

-IsapiModule
 

 

Resolution

Install the DefaultDocumentModule module using the following command: Appcmd install module /name:DefaultDocumentModule /imanage:%windir%system32inetsrvdefdoc.dll

 

 

 

The following modules can be manually added using "Configure Native Modules" under Modules and do an IISRESET on that server.

 

-IsapiFilterModule

 

-IsapiModule

 

 



 
Be the first to reply!

Reply