添加的System.Web applicationpool到web.config中导致500内部服务器错误 [英] Adding system.web applicationpool to web.config causes 500 internal server error
本文介绍了添加的System.Web applicationpool到web.config中导致500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想以下内容添加到我的webconfig
I'm trying to add the following to my webconfig
<system.web>
<applicationPool maxConcurrentRequestsPerCPU="5000" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000"/>
</system.web>
然而,当我这样做,我得到了下面的错误。
However when I do so I get the following error.
The configuration section 'applicationPool' cannot be read because it is missing a section declaration
我如何添加一节声明呢?
How can I add a section declaration for this?
推荐答案
我不相信你可以添加到web.config文件。它应该在你的Aspnet.config文件。
I don't believe you can add that to a web.config file. It should go in your Aspnet.config file.
这篇关于添加的System.Web applicationpool到web.config中导致500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文