-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes for 32-bit application pools #3
Comments
The module uses an 64-bit integer for the max-age. The limit of an 32-bit integer equals to just over 136 years, to I don't think that will be a limitation. Also, the XML defines a normal int, I think it wouldn't even work with a bigger number. |
I've had exactly the same issue with 32bit App Pools on a Win2008R2 server |
I've had exactly the same issue with 32bit App Pools on a Win2016 server |
As described on CodePlex, the module does not work with 32 bit application pools.
The end-users see an error:
Plus there are several event log entries:
Even explicitely removing the HstsIisModule from the 32 bit web application did not improve anything.
This is a show-stopper for me. I had to deinstall.
Please fix this issue.
A workaround might be to add "
preCondition="bitness64"
", although I have not tried this yet.Update 1
I made it working with the above pre-condition fix:
This worked by adding "
preCondition="bitness64"
" to both module entries in applicationHost.config:<add name="HstsIisModule" preCondition="bitness64" />
in the<modules>
section<add name="HstsIisModule" image="%windir%\System32\inetsrv\HstsIisModule.dll" preCondition="bitness64"/>
in the<globalModues>
section.Please note that this will only work if your SSL websites are 64 bit websites since my workaround turns off this module for 32 bit websites.
The text was updated successfully, but these errors were encountered: