• [已解决][WCF]provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.


    仅仅是解决这个问题而已,其他情况不知,详见下:

    问题:

      WCF建立svc文件,然后访问出现下面错误:

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

    解决方法:

      网上有一堆的方法,结果不适用我的这个错误,原因是项目[MyProject]的属性页上设定了输出文件目录为其他地方,不是默认的bin\,所以将其改回来就好了。

    *仅仅是一种情况,是成功的必要条件非充分条件。

    (2013/06/14)

  • 相关阅读:
    WUST Online Judge
    WUST Online Judge
    WUST Online Judge
    WUST Online Judge
    写在前面
    一丶Python简介
    七丶Python字典
    六丶Python列表操作
    五丶Python列表丶元组丶字典
    四丶Python运算符
  • 原文地址:https://www.cnblogs.com/fiteg/p/3135586.html
Copyright © 2020-2023  润新知