arash moeen
arash moeen

Reputation: 4693

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). my biz layer has assembly reference in my both website & data layer and my data layer has a reference in website as well. in my website I have 3 web services that are basically using these data layer & biz layer to work.

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:

 "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.

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.

Upvotes: 0

Views: 3586

Answers (3)

juanesteban
juanesteban

Reputation: 21

I had the same problem with ajaxtoolkit, adding the ajax library to the mentioned folder resolved the problem. I added SanitizerProviders.dll, AjaxControlToolkit.dll, HtmlSanitizationLibrary.dll, and then finally restarted VS2010.

Upvotes: 2

Ashish Madkaikar
Ashish Madkaikar

Reputation: 129

copy data layer and biz layer dlls in

server root:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\DataDesign

restart VS.

Upvotes: 3

Đức Bùi
Đức Bùi

Reputation: 527

Check that folder properties which store BizEntity is "Read-only" or not.

Upvotes: 0

Related Questions