You need to change the requestTimeout property on the aspNetCore element instead:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<aspNetCore requestTimeout="00:02:00" .../>
</system.webServer>
</configuration>
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer