Error building when Enhancing is turned on

8 posts, 0 answers
  1. Tonya
    Tonya avatar
    12 posts
    Member since:
    Mar 2008

    Posted 09 Jun 2010 Link to this post

    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
  2. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 09 Jun 2010 Link to this post

    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.
  3. DevCraft banner
  4. Tonya
    Tonya avatar
    12 posts
    Member since:
    Mar 2008

    Posted 09 Jun 2010 Link to this post

    I should have mentioned that I'm using version 2009.2.701.5.  Is there a problem with this version as well?

    Thanks,
    Tonya
  5. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 10 Jun 2010 Link to this post

    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.
  6. Tonya
    Tonya avatar
    12 posts
    Member since:
    Mar 2008

    Posted 11 Jun 2010 Link to this post

    >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
  7. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 14 Jun 2010 Link to this post

    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.
  8. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 14 Jun 2010 Link to this post

    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.
  9. Tonya
    Tonya avatar
    12 posts
    Member since:
    Mar 2008

    Posted 14 Jun 2010 Link to this post

    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
Back to Top
DevCraft banner