Mar 31 2011

IIS 7.5 - HTTP Error 500.19 - Internal Server Error - The configuration section 'uri' cannot be read because it is missing a section declaration

Category:Bil@l @ 21:42

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: , , ,

Comments are closed