MaxWebConfigFileSizeInKB and IIS 10

五迷三道 提交于 2019-12-24 03:39:04

问题


I am using a Web application with a web.config file larger than 250KB on IIS 10. In IIS 8.5 and below the registry key HKLM\SOFTWARE\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB (REG_DWORD) could be set to allow web.configs to be larger than 250KB. However it seems that this registry key is not read by IIS 10 any longer.

Does anyone know if this key should still work on IIS 10 or how to use config files larger than 250KB in combination with IIS 10?


回答1:


I forgot to set the 32 bit version registry key, HKLM\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB (REG_DWORD) It works now,




回答2:


For IIS Express on Windows 10 you need to set the MaxWebConfigFileSizeInKB value in the registry here: HKLM/HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\IISExpress\10.0\mimic\Configuration.

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



来源:https://stackoverflow.com/questions/32329067/maxwebconfigfilesizeinkb-and-iis-10

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