简体   繁体   English

IIS Web配置错误

[英]IIS web config error

I have recently been trying to install TargetProcess on my windows 7 machine. 我最近一直在尝试在Windows 7计算机上安装TargetProcess。

I have gotten so far as to successfully install it while running IIS and an SQLEXPRESS instance. 我到目前为止已经在运行IIS和SQLEXPRESS实例时成功安装了它。 when I point my web browser at the index page there is an error in the config file. 当我将Web浏览器指向索引页面时,配置文件中出现错误。

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Reroute-x32-2.0' 

Can anyone advise on how best to proceed? 谁能建议最好的方法吗?

thanks 谢谢

Kevin 凯文

Sounds like an error (duplicate entry) in the site's web.config file. 听起来像站点的web.config文件中的错误(重复项)。 Have a look through the web.config or machine.config, look for something like 浏览一下web.config或machine.config,查找类似

<add name="Reroute-x32-2.0" ...

Don't forget that config files are hierarchical, so you might have this entry in one config, and inadvertantly added it to another config file higher up in the IIS folder hierarchy (or machine.config). 不要忘记配置文件是分层的,因此您可能在一个配置中拥有此条目,并且无意中将其添加到IIS文件夹层次结构(或machine.config)中更高的另一个配置文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM