Unchecking "Allow unlisted file name extensions" results in 404.7 error

A post was split to a new topic: How to uncheck the setting “Allow unlisted file name extensions” in IIS?