前段时间在配置"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"解决办法:重新建立一次虚拟目录即可。