I was hosting an ASP.NET 4.0 application on IIS 7.5 and using the DefaultAppPool. When I run the application, I receive the error message:
IIS 7.5 - Http Error 500.19 - Internal Server Error - The configuration section 'uri' cannot be read because it is missing a section declaration
Don't be shocked :) The solution appeared to be as simple as changing the Application Pool to ASP.NET v 4.0 and here you go!
Remember always to select the right Application Pool whenever you are hosting an ASP.NET 4.0 app!
HTH
Regards
Tags: ASP.NET v4.0, ASP.NET, .NET, IIS 7.5