更改允许的最大配置文件大小[IIS Express 10/Windows 10] [英] Change maximum allowed configuration file size [IIS Express 10/Windows 10]

查看:93
本文介绍了更改允许的最大配置文件大小[IIS Express 10/Windows 10]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在链接的配置文件中将多个条目添加到重定向映射后,在Windows 10(64位,但IIS Express)上的 IIS Express 10 上出现以下错误正在运行32位):

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):

"无法读取配置文件,因为它超出了最大文件大小"

我尝试将 Configuration 项添加到注册表,在 HKLM/Software/Microsoft/IISExpress/10.0/mimic下将 MaxWebConfigFileSizeInKB 值设置为512 /配置:

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:

关于如何在Windows 10上为IIS Express启用大于250 KB的配置文件的任何想法?干杯!

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

推荐答案

最后,这就是拯救我的原因:

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/

基本上,我必须在以下位置添加 MaxWebConfigFileSizeInKB 值: HKLM/HKEY_LOCAL_MACHINE \ SOFTWARE \ WOW6432Node \ Microsoft \ IISExpress \ 10.0 \ mimic \ Configuration

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

这篇关于更改允许的最大配置文件大小[IIS Express 10/Windows 10]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆