Jump to content

Recommended Posts

Posted

I can't login to HAP. I was able to do the entire setup.aspx properly, but when trying to use HAP and logon this comes up.

I thought maybe I'd reinstall .NET stuff, but this is on a Windows 2012 R2 server, so you can't just uninstall and reinstall .NET.

(and if I try to login with an incorrect user/password, then it correctly says that it's a wrong user/password).

Stuck for this on a long time...

 

 

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.

 

 

 

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

StaticFile

 

Error Code

0x8007000d

 

 

 

Requested URL

https://10.12.20.12:443/HAP

 

Physical Path

C:\inetpub\wwwroot\HAP

 

Logon Method

Forms

 

Logon User

administrator

Posted
This seems to be an issue with the defaultdocumentmodule not having been loaded correctly into IIS even though it's showing as installed when looking at add/remove programs. %windir%\system32\inetsrv\appcmd.exe install module /name:DefaultDocumentModule /image:%windir%\system32\inetsrv\defdoc.dll seems to have helped.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...