The configuration section 'uri' cannot be read because it is missing a section declaration

.net, asp.net, iis-7, web-config

Solution

It turns out it does mean it is missing a section declaration.

I just add

<section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

inside of `<configSections>`

Then it works fine.

Problem

I tried to install BugNET on IIS7 with .net 4.5 It keeps showing The configuration section 'uri' cannot be read because it is missing a section declaration It is pretty much like this issue and this one But my app pool was set to 4.0. And it works fine on IIS8 with .net 4.5 I think the setting were the same. Any help ? thx

Original source