您的位置:首页 > 其它

Silverlight+IIS配置时遇到的几个错误及解决思路!

2010-05-26 18:24 387 查看
前段时间在配置"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"
解决办法:重新建立一次虚拟目录即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐