I\'m creating a website in Asp.net core 2.0 which allows files to be uploaded. I quickly came across the problem of the 30MB upload limit and receive a 4
For anyone else with the same problem, this is the answer.
Mark LaFleur's answer was the right direction but the web.config was missing a crucial section.
I was helped but this webpage that explains more about the web.config file in Asp.net Core: ASP.NET Core Module configuration reference
To stop this error you need to create a web.config file with the following content: