无法加载文件或程序集Microsoft.ServiceModel.DomainServices.Hosting

编程入门 行业动态 更新时间:2024-10-08 13:32:29
本文介绍了无法加载文件或程序集Microsoft.ServiceModel.DomainServices.Hosting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在我的本地环境中加载的应用程序。这是我继承,并没有得到它在所有的工作一codeBase的。在这个时候,当我浏览到test.myapp:75/在我的浏览器,我收到以下错误:

I have an application loaded in my local environment. This is a codebase that I have inherited and have not gotten it to work at all. At this time, when I navigate to "test.myapp:75/" in my browser, I receive the following error:

说明:该请求提供服务所需的配置文件的处理过程中出现错误。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息:未能加载文件或程序集Microsoft.ServiceModel.DomainServices.Hosting,版本= 4.0.0.0,文化=中性公钥= 31bf3856ad364e35或它的某一个依赖。该系统找不到指定的文件。的

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'Microsoft.ServiceModel.DomainServices.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

我已经检查并确认我有RIA数据服务加载。我可以看到在C文件:\程序文件(x86)\微软的SDK \ RIA服务\ 1.0 \图书馆\服务器。有趣的是,该目录中的组件不会被装载到我的GAC。我试图把它们推入我的GAC,但是,我不能拖组件到C:当我尝试\的Windows \组装和没有错误显示

I have checked and verified that I have RIA Data Services loaded. I can see the files in C:\Program Files (x86)\Microsoft SDKs\RIA Services\v1.0\Libraries\Server. Interestingly, the assemblies in this directory are not loaded into my GAC. I've tried loading them into my GAC, however, I cannot drag the assemblies into C:\Windows\assembly and no error is shown when I try.

我是什么做错了吗?

推荐答案

该Microsoft.ServiceModel.DomainServices.Hosting库不是标准的WCF RIA Services的一部分。你必须下载并安装 WCF RIA服务的工具包 分开。

The Microsoft.ServiceModel.DomainServices.Hosting library is not part of the standard WCF RIA Services. You have to download and install the WCF RIA Services Toolkit seperately.

我也推荐阅读 WCF可扩展性 - 配置端点为WCF RIA服务

更多推荐

无法加载文件或程序集Microsoft.ServiceModel.DomainServices.Hosting

本文发布于:2023-11-13 11:23:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584229.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:加载   文件   程序   Microsoft   DomainServices

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!