无法读取配置文件,因为它超出了最大文件大小(web.config) [英] Cannot read configuration file because it exceeds the maximum file size (web.config)

查看:570
本文介绍了无法读取配置文件,因为它超出了最大文件大小(web.config)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,

我们在web.config文件中面临上述问题。我们有两个解决方案。我们有2个WFE和2个应用程序服务器。

We are facing above issue on one of web.config file. We have got below two solutions for this. We have 2 WFEs and 2 Apps servers.

1)将web.config部分拆分为不同的文件。

1) Split web.config sections into different files.

2)  可以通过修改以下内容来更改此限制的上限值注册表项:

2) The upper value of this limit can be changed by modifying the following registry key:


< samp style =" box-sizing:border-box; font-family:Menlo,Monaco,Consolas,'Courier New',monospace; font-size:1em;" > HKLM\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB&NBSP; (REG_DWORD)< / samp>
<samp style="box-sizing:border-box;font-family:Menlo, Monaco, Consolas, 'Courier New', monospace;font-size:1em;">HKLM\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB  (REG_DWORD)</samp>

推荐答案

单个web.config维护会更容易,所以我建议增加文件大小限制
with single web.config maintenance will be much easier so I would recommend to increase file size limit


这篇关于无法读取配置文件,因为它超出了最大文件大小(web.config)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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