Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unrecognized configuration section system.applicationHost

I was planning to add MinFileBytesPerSec attribute with in system.applicationHost configuration to overcome DOS vulnerability. However as soon as I add system.applicationHost within Configuration section of web.config, and run the application, it throws me an error stating:

Unrecognized configuration section system.applicationHost

I verified and I could find system.applicationHost defined in ApplicationHost.config file, and since I am using IIS 7.5, system.applicationHost should be available with default installation.

I am stuck with this issue of why system.applicationHost is not being recognized, any suggestion will be very helpful.

enter image description here

like image 335
Sangamesh Avatar asked Jan 25 '26 05:01

Sangamesh


1 Answers

It is not allowed for a web.config file to define anything about <system.applicationHost>. Such changes must go to applicationHost.config.

like image 59
Lex Li Avatar answered Jan 27 '26 00:01

Lex Li