Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting'.系统找不到指定文件

  项目部署到服务器后出现如下错误信息:

  Parser Error Message: Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.系统找不到指定的文件。  

  

  打开这个目录:

C:Program FilesMicrosoft SDKsRIA Servicesv1.0LibrariesServer

64位系统是Program Files (x86)

  拷贝四个选中的DLL文件到项目的BIN目录即可:

  

原文地址:https://www.cnblogs.com/haocool/p/3455533.html