本文介绍了无法读取配置节"uri",因为它缺少节声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在带有.net 4.5的IIS7上安装 BugNET

它一直显示

这非常类似于问题和但是我的应用程序池设置为4.0.

它在带有.net 4.5的IIS8上正常工作

我认为设置是相同的.

有什么帮助吗?

解决方案

事实证明,这确实意味着它缺少节声明.

我只是添加

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

<configSections>

内部

然后正常工作.

I tried to install BugNET on IIS7 with .net 4.5

It keeps showing

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.

这篇关于无法读取配置节"uri",因为它缺少节声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 01:56
查看更多