在我的主机上运行我的wcf服务的问题 [英] problem with run my wcf service on my host
本文介绍了在我的主机上运行我的wcf服务的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
i写了一个wcf服务(SVC)
当我在我的电脑上运行我的服务时它没有任何问题
bu当我在我的主机上传我的服务它没有找到错误
我的问题在哪里
我的服务链接
我的服务web.config:
hi everyone
i wrote a wcf service(SVC)
when i run my service in my computer it works without any problems
bu when i upload my service in my host it has Not Found Error
Where is my problem
my service link
my Service web.config :
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service name="Chat_Server.Service_Chat">
<endpoint binding="wsDualHttpBinding" bindingConfiguration="DuplexBinding" contract="Chat_Server.IService_Chat" />
</service>
</services>
<bindings>
<wsDualHttpBinding>
<binding name="DuplexBinding">
</binding>
</wsDualHttpBinding>
</bindings>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
</configuration>
谢谢
thank you
推荐答案
看一下错误信息,这是一个已知问题,试试这个:
由于扩展配置,无法提供您请求的页面[ ^ ]
希望有帮助
Hi,
Take a look at the error message, it''s a known issue, try this:
The page you are requesting cannot be served because of the extension configuration[^]
Hope it helps
这篇关于在我的主机上运行我的wcf服务的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文