Change maximum allowed configuration file size [IIS Express 10/Windows 10]

血红的双手。 提交于 2019-12-11 13:52:58

问题


After adding multiple entries to a redirect map in a linked config file, I get the following error on IIS Express 10 on Windows 10 (64 bit, but IIS Express is running 32-bit):

"Can not read configuration file because it exceed the maximum file size"

I've tried adding a Configuration key to the registry, setting a MaxWebConfigFileSizeInKB value of 512 under HKLM/Software/Microsoft/IISExpress/10.0/mimic/Configuration:

Any idea on how to enable configuration files larger than 250 KB for IIS Express on Windows 10? Cheers!


回答1:


Finally, this is what saved me: https://blogs.msdn.microsoft.com/amb/2013/01/07/iis-express-8-and-large-web-config-files-cannot-read-configuration-file-because-it-exceeds-the-maximum-file-size-error-message/

Basically, I had to add the the MaxWebConfigFileSizeInKB value under: HKLM/HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\IISExpress\10.0\mimic\Configuration



来源:https://stackoverflow.com/questions/37111764/change-maximum-allowed-configuration-file-size-iis-express-10-windows-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!