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
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.
Thanks for the links you've included in your question; the first you've included worked for me, so I thought I'd quote it for the cargo culters who come after:
When you encounter this issue, please just change the .NET Framework Version of pool to V4.0 in IIS.
http://forums.asp.net/t/1839088.aspx
(I've the URI element, but no <section name="uri"…
. I've got no IIS chops, so I can't say anything more on the subject!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With