如何在IIS 5.1中运行WCF服务 [英] How to run wcf service in iis 5.1

查看:69
本文介绍了如何在IIS 5.1中运行WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai,
在iis5.1中运行wcf服务时出现以下错误

找不到类型"CRMService.Service1",该类型作为ServiceHost指令中的Service属性值提供,或在配置元素system.serviceModel/serviceHostingEnvironment/serviceActivations中提供.


但是它在我的本地主机上运行没有任何问题...

hai,
i am getting the following error while running my wcf service in iis5.1

The type ''CRMService.Service1'', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.


but its running in my local host without any problem...

推荐答案

请参阅以下链接,您可能会有所了解

http://stackoverflow.com/questions/5897250/vs2010-wcf-service-wouldnt-start [^ ]

http://stackoverflow.com/questions/4828569/deploying-a- wcf-service-on-iis-5-1 [ ^ ]

http://stackoverflow. com/questions/4681580/wcf-service-working-in-iis-5-1-but-not-working-in-iis-6 [>> http://stackoverflow.com/Questions/2739465/deploying-wcf-tutorial-app-on-iis7-the-type-could-not-be-found [
see below links you may get some idea

http://stackoverflow.com/questions/5897250/vs2010-wcf-service-wouldnt-start[^]

http://stackoverflow.com/questions/4828569/deploying-a-wcf-service-on-iis-5-1[^]

http://stackoverflow.com/questions/4681580/wcf-service-working-in-iis-5-1-but-not-working-in-iis-6[^]

http://stackoverflow.com/questions/2739465/deploying-wcf-tutorial-app-on-iis7-the-type-could-not-be-found[^]


这篇关于如何在IIS 5.1中运行WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆