Unable to cast object of type 'System.Security.Principal.GenericPrincipal' to type 'System.Security.Principal.WindowsPrincipal'

When accessing an IIS web page you may see the error

Unable to cast object of type 'System.Security.Principal.GenericPrincipal' to type 'System.Security.Principal.WindowsPrincipal'

This can be due to the Windows Authentication role service not being installed.

This can be found in Server Manager on server operating systems from Windows 2008 and above, or on desktop operating system goto

Control Panel > Programs and Features > Turn Windows features on or off


Screenshot: Enable Windows authentication on Windows 8



For more information about our products including our Network Documentation Tool please see our web site.

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Enable function lock for F1-F12 on HP ZBook mobile workstations