WCF服务相关的错误 [英] WCF Service related error

查看:74
本文介绍了WCF服务相关的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在浏览器中查看我的wcf服务时,出现此错误,

when i view my wcf service in browser ,i get this error,
The type ''MonoServiceApplication.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.

推荐答案

您的项目中是否有此类,并且该类实现了服务合同吗?

如果打开svc文件,则可以看到该文件的条目.如果需要,可以更改它.
Do you have this class in your project and does this implements the service contract?

If you open the svc file, you can see the entry for this file. Change it if you want to.


这篇关于WCF服务相关的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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