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

前端 未结 2 730
执笔经年
执笔经年 2021-01-03 21:29

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 s

相关标签:
2条回答
  • 2021-01-03 22:11

    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.

    0 讨论(0)
  • 2021-01-03 22:14

    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!)

    0 讨论(0)
提交回复
热议问题