multipleSiteBindingsEnabled

multipleSiteBindingsEnabled

本文介绍了在配置文件中定义了multipleSiteBindingsEnabled时,无法打开svcconfigeditor.exe.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是WCF的新手.在阅读时,我知道有一种用于编辑wcf的工具.配置文件.

I'm new to WCF.While reading i came to know there is a tool to edit wcf  configuration file.

我正在使用Visual Studio 4.0 Express Edition.当我们打开新的wcf应用程序时,它会自动准备一个示例应用程序.我执行并测试了该应用程序经过很少/没有修改.

I'm using visual studio 4.0 express edition.When we open new wcf application it automatically prepares one sample application.I executed and tested application  by little/no modifications.

我的疑问是为什么此配置工具(svcconfigeditor.exe)无法识别  < serviceHostingEnvironment multipleSiteBindingsEnabled =真"/>配置文件中的标签.

my doubt is why this configuration tool(svcconfigeditor.exe) is not recognizing  <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/> tag which is in configuration file.

正在引发错误:

无法识别的属性"multipleSiteBindingsEnabled".请注意,属性名称区分大小写(此处为文件路径).

Unrecognized attribute 'multipleSiteBindingsEnabled'.Note that attribute names are case sensitive(here path of the file).

是这个错误吗?或其他内容.

is this bug ? or something else..

推荐答案

MultipleSiteBindingsEnabled is a .Net 4.0 feature.... please check whether your service running under .Net 4.0 runtime environment. 


这篇关于在配置文件中定义了multipleSiteBindingsEnabled时,无法打开svcconfigeditor.exe.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 21:30