本文介绍了Xml通过客户端的MaxStringContentLength错误导入数据wcf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我更改了confi文件,现在遇到此错误,请帮帮我
Hi, I changed confi files ,now i am getting this error please help me
The requested service, 'narasimhulu.sourceedge/IntegrationService/IntegrationService.svc' could not be activated. See the server's diagnostic trace logs for more information.问候, 奈良市 编辑TR:如果您要使用< pre>标签,请记住要关闭忽略文本中的HTML".
Regards, Narasima Edit TR : If you''re going to use <pre> tags, please remember to turn off ''Ignore HTML in text''.
推荐答案我相信您的web.config不太正确. 我认为您不见了:bindingConfiguration ="basicHttpBinding" 在服务的端点节点中-这使其忽略您的配置设置... I believe your web.config is not quite correct. I think you are missing : bindingConfiguration="basicHttpBinding" in the endpoint node for the service - this makes it ignore your configuration settings... <endpoint binding="basicHttpBinding" name="basicHttpBinding" bindingName="IService" bindingNamespace="Emisoft.Emis.ServiceContracts/2007/05" contract="Emisoft.EmisServices.BusinessLogic.IIntegrationWebService" />
应该是:
should be:
<endpoint binding="basicHttpBinding" bindingConfiguration="basicHttpBinding" name="basicHttpBinding" bindingName="IService" bindingNamespace="Emisoft.Emis.ServiceContracts/2007/05" contract="Emisoft.EmisServices.BusinessLogic.IIntegrationWebService" />通常建议使用WCF配置编辑器编辑这些配置文件
It is usually advisable to edit these config files using the WCF Configuration editor
更多推荐
Xml通过客户端的MaxStringContentLength错误导入数据wcf
发布评论