简体   繁体   English

无法加载文件或程序集或其依赖项之一

[英]could not load file or assembly or one of its dependencies

in my solution I have a 3 projects (1 website, 1 data layer, 1 biz layer). 在我的解决方案中,我有3个项目(1个网站,1个数据层,1个biz层)。 my biz layer has assembly reference in my both website & data layer and my data layer has a reference in website as well. 我的biz层在网站和数据层中都有程序集引用,而我的数据层在网站中也有引用。 in my website I have 3 web services that are basically using these data layer & biz layer to work. 在我的网站上,我有3个Web服务,它们基本上是使用这些数据层和biz层来工作的。

now the problem I'm facing is recently I made some changes to one of the classes in this BizEntity which is my biz layer project name and added some fields to one of the current classes and then added a rdlc to my website to provide reporting but in my rdlc design page when I drop a table from tools I get the following error: 现在我面临的问题是最近我对该BizEntity中的一个类进行了一些更改,这是我的biz层项目名称,并向当前类之一添加了一些字段,然后向我的网站添加了rdlc以提供报告,但是在我的rdlc设计页面中,当我从工具中删除表时,出现以下错误:

 "Could not load file or assembly 'BizEntity', Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

*BizEntity is the project name of my biz layer which contains the objects. * BizEntity是包含对象的biz层的项目名称。

I've been searching internet for solution for so long & I couldn't find any working solution for it. 我一直在互联网上寻找解决方案很久了,但找不到任何可行的解决方案。 any help or suggestion would be appreciated the most. 任何帮助或建议,将不胜感激。

Thanks in advance. 提前致谢。

copy data layer and biz layer dlls in 在以下位置复制数据层和biz层dll:

server root:\\Program Files\\Microsoft Visual Studio 10.0\\Common7\\IDE\\CommonExtensions\\DataDesign 服务器根目录:\\ Program Files \\ Microsoft Visual Studio 10.0 \\ Common7 \\ IDE \\ CommonExtensions \\ DataDesign

restart VS. 重新启动VS。

I had the same problem with ajaxtoolkit, adding the ajax library to the mentioned folder resolved the problem. 我在ajaxtoolkit中遇到了同样的问题,将ajax库添加到提到的文件夹中解决了该问题。 I added SanitizerProviders.dll , AjaxControlToolkit.dll , HtmlSanitizationLibrary.dll , and then finally restarted VS2010. 我添加了SanitizerProviders.dllAjaxControlToolkit.dllHtmlSanitizationLibrary.dll ,然后最终重新启动了VS2010。

检查存储BizEntity的文件夹属性是否为“只读”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法加载文件或程序集''或其依赖项之一 - Could not load file or assembly '' or one of its dependencies 无法加载文件或程序集及其依赖项之一 - Could not load file or assembly and one of its dependencies 无法加载文件或程序集或其依赖项之一 - Could not load file or assembly or one of its dependencies 无法加载文件或程序集或其依赖项之一 - Could not load file or assembly or one of its dependencies 无法加载文件或程序集“WebGrease”或其依赖项之一 - Could not load file or assembly 'WebGrease' or one of its dependencies 无法加载文件或程序集“ EfTidyNet”或其依赖项之一 - Could not load file or assembly 'EfTidyNet' or one of its dependencies 错误原因:无法加载文件或程序集”或其依赖项之一 - What cause to error: Could not load file or assembly '' or one of its dependencies 无法加载文件或程序集“ tesseract.dll”或其依赖项之一 - Could not load file or assembly 'tesseract.dll' or one of its dependencies 无法加载文件或程序集“ __App_Code”或其依赖项之一 - Could not load file or assembly '__App_Code' or one of its dependencies 无法加载文件或程序集或其依赖项之一,错误消息已更改 - Could not load file or assembly or one of its dependencies, error message changing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM