Tsc*_*eck 5 .net error-handling sharepoint web-config
当我尝试打开SharePoint扩展站点时,收到错误500.错误消息为:
无法读取配置文件,因为它超出了最大文件大小
我的web.config
文件只有大约260 KB,因为它有很多<SafeControl>
条目.删除一些旧条目,并将文件降至186 KB后,我的网站开始正确加载.
我的问题:
Joh*_*ell 10
它没有硬编码其定义
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB
Run Code Online (Sandbox Code Playgroud)
或者在64位机器上
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB
Run Code Online (Sandbox Code Playgroud)
默认情况下,"截止点",除非您配置MaxWebConfigFileSizeInKB
似乎是250Kb
请记住,您始终可以将web.config文件拆分为多个小文件来解决此问题,