This is a migrated thread and some comments may be shown as answers.

Error building when Enhancing is turned on

7 Answers 90 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Solutionwhere
Top achievements
Rank 1
Solutionwhere asked on 09 Jun 2010, 08:39 PM
I'm getting an error when I try to build my a data access project when I turn on Enhancing.  The error isn't really telling me enough to fix it on my own.

The error is: OpenAccess Error: Unable to create type 'SW.CW3.DAL.Accessory' : Could not load type 'SW.CW3.DAL.Floor' from assembly 'SW.CW3.DAL, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

The project builds fine with Enhancing set to false.

Thanks,
Tonya

7 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 09 Jun 2010, 09:14 PM
Hello Tonya,
There was a problem with referenced assemblies in the SP1 build. Can you download the latest custom build? That should fix your problem.

Sincerely yours,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Solutionwhere
Top achievements
Rank 1
answered on 09 Jun 2010, 09:16 PM
I should have mentioned that I'm using version 2009.2.701.5.  Is there a problem with this version as well?

Thanks,
Tonya
0
Jan Blessenohl
Telerik team
answered on 10 Jun 2010, 09:23 AM
Hi Tonya,
I cannot remember a problem in that version. But you have to set copy local to true for your referenced assemblies that are not in the gac.

Greetings,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Solutionwhere
Top achievements
Rank 1
answered on 11 Jun 2010, 06:05 PM
>But you have to set copy local to true for your referenced assemblies that are not in the gac.

Hi Jan,

I did this for the Telerik ORM dlls referenced in the project and I still get the error.

Thanks,
Tonya
0
Jan Blessenohl
Telerik team
answered on 14 Jun 2010, 09:13 AM
Hi Tonya,
I am not talking about the telerik dlls but yours esp.: SW.CW3.DAL. 

Does SW.CW3.DAL refer other dlls that are not in the cache?

Sincerely yours,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jan Blessenohl
Telerik team
answered on 14 Jun 2010, 09:15 AM
Hello Tonya,
Sorry, I meant: SW.CW3.DAL.Floor

I am not talking about the telerik dlls but yours esp.: SW.CW3.DAL.Floor. 

Does SW.CW3.DAL.Floor refer other dlls that are not in the cache?

Best wishes,
Jan Blessenohl
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Solutionwhere
Top achievements
Rank 1
answered on 14 Jun 2010, 01:06 PM
Hi Jan,

The project that is generating the error is SW.CW3.DAL and Floor is part of the .dbml file.  If I remove and re-add it to the designer, I get an error on a different table.  If I re-add everything from the database, I go back to getting an error on Floor.

Thanks for your help
Tonya
Tags
Design Time (Visual Designer & Tools)
Asked by
Solutionwhere
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Solutionwhere
Top achievements
Rank 1
Share this question
or