前段时间在配置"Silverlight+IIS"时,遇到了下面几个错误,现将解决办法列如下:
1、记不清了具体信息,程序报"system.serviceModel"错误。
解决办法:"The <system.serviceModel> is the WCF section and WCF only came about in .NET 3.0".
Solutions:
either you can get your hosting provider to install .NET 3.0 (or preferably .NET 3.5 SP1) so you can use WCF
you remove that <system.serviceModel> section from your config file if you don't even need and use WCF。
2、"provided as the service attribute value in the servicehost directive Could not be found"解决办法:重新建立一次虚拟目录即可。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。