Cannot run website with reference to llblgen entity in page

Posts   
 
    
bjacobs
User
Posts: 73
Joined: 20-Aug-2008
# Posted on: 10-Apr-2009 23:32:11   

Whenever I reference an llblgen entity in a .aspx page I get the following error:

e.g. Just doing the following in a page.

PersonEntity person = new PersonEntity();

Could not load type 'OnlineDealerTrade.EntityClasses.PersonEntity' from assembly 'OnlineDealerTrade, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

bjacobs
User
Posts: 73
Joined: 20-Aug-2008
# Posted on: 11-Apr-2009 00:18:15   

I created a new web project and imported all of my existing pages to it and everything worked. I am not sure why the other project would not work.

I did have my DAL as a folder inside of my Web Project in the version that did not work. Would that have caused this problem?

Thanks,

Billy Jacobs

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 11-Apr-2009 04:49:30   

bjacobs wrote:

I did have my DAL as a folder inside of my Web Project in the version that did not work. Would that have caused this problem?

Looks like a assembly reference problem, like if you didn't specify the correct version of the LLBLGen Pro assemblies.

Good it is working now wink

David Elizondo | LLBLGen Support Team