gpt4 book ai didi

configuration - 无法读取配置文件,因为它超过了最大文件大小

转载 作者:行者123 更新时间:2023-12-04 11:06:55 26 4
gpt4 key购买 nike

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

我收到上述错误,因为我的 rewritemap.config 文件大小超过 250KB(Windows 2008 R2 SP1 服务器,带有 IIS 7.5

最佳答案

如果您有权访问注册表,并且确实需要大于 250kb 的文件,则可以更改注册表项中的值。

对于 x32 系统:

创建 key :

HKLM\Software\Microsoft\InetStp\Configuration\

添加 DWORD 值:
MaxWebConfigFileSizeInKB

对于 x64 系统:

创建 key :
HKLM\Software\Wow6432Node\Microsoft\InetStp\Configuration\

添加 DWORD 值:
MaxWebConfigFileSizeInKB

请务必重新启动或重新启动应用程序池。 This answer to a related question也可以启发。

注意:如果没有 key ,您可以创建它。 how to create a key on regedit

另一种选择是拆分 .config 文件。
http://forums.asp.net/t/1961321.aspx?Split+web+config+rewrite+rules+in+separate+file

关于configuration - 无法读取配置文件,因为它超过了最大文件大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22169084/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com