Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding system.web applicationpool to web.config causes 500 internal server error

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?

like image 678
Prescient Avatar asked Nov 19 '12 17:11

Prescient


1 Answers

I don't believe you can add that to a web.config file. It should go in your Aspnet.config file.

Web Settings Schema

like image 98
Miguel-F Avatar answered Sep 26 '22 05:09

Miguel-F