Asp.net
將 system.web 應用程序池添加到 web.config 會導致 500 內部伺服器錯誤
我正在嘗試將以下內容添加到我的 webconfig
<system.web> <applicationPool maxConcurrentRequestsPerCPU="5000" maxConcurrentThreadsPerCPU="0" requestQueueLimit="5000"/> </system.web>但是,當我這樣做時,會出現以下錯誤。
The configuration section 'applicationPool' cannot be read because it is missing a section declaration如何為此添加部分聲明?
我不相信您可以將其添加到 web.config 文件中。它應該在您的 Aspnet.config 文件中。
我認為您可以將其設置為覆蓋 pr。應用程序下的部分
<system.webServer><httpRuntime>和
<system.webServer><serverRuntime>您可以進入 IIS 並在配置編輯器下的站點檢查