Element isn't known in this provider Parameter name: elementName

Posts   
 
    
CowHills
User
Posts: 47
Joined: 14-Mar-2007
# Posted on: 14-Mar-2007 13:36:59   

Version: = 2.0.0.0 Final

Runtime library version = SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll, 2.0.7.122 .Net = framework 3.0

StackTrace = at SD.LLBLGen.Pro.ORMSupportClasses.PersistenceInfoProviderBase.GetElementMappingInfo(String elementName) at SD.LLBLGen.Pro.ORMSupportClasses.PersistenceInfoProviderBase.GetFieldPersistenceInfo(String elementName, String fieldName) at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.GetFieldPersistenceInfo(IEntityField2 field) at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.GetFieldPersistenceInfos(IEntityFields2 fields) at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollectionInternal(IEntityCollection2 collectionToFill, IRelationPredicateBucket& filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, Int32 pageNumber, Int32 pageSize) at SD.LLBLGen.Pro.ORMSupportClasses.DataAccessAdapterBase.FetchEntityCollection(IEntityCollection2 collectionToFill, IRelationPredicateBucket filterBucket, Int32 maxNumberOfItemsToReturn, ISortExpression sortClauses, IPrefetchPath2 prefetchPath)

Database = SQLServer 2005

Exception = The element name 'CommercialGoodEntity' isn't known in this provider Parameter name: elementName

Hello,

Does anybody have a clue why I get this Exception? -I created a new table in a existing catalog. Generated the entities, still no problems there. All the existing code still worked without any problems. Sadly, when I tried to access the new entity the exception (as stated above) appeared in my application. uhm.....Help?

Yours sincerely, Paul

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 14-Mar-2007 13:55:37   

Most probably your application still references the old DatabaseSpecific assembly. Make sure you remove all the old assemblies from the bins, GAC, Temp folders.. and re-generate the code, and rebuild the application.

CowHills
User
Posts: 47
Joined: 14-Mar-2007
# Posted on: 14-Mar-2007 14:16:13   

Dear Walaa,

Thanks very much, you solved my problem within the hour. I'm very grateful :-)

Yours sincerely, Paul

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 14-Mar-2007 14:17:15   

That's why I'm here for. Good Luck