Artificial types MetaDataException

Thread is closed for posting
2 posts, 0 answers
  1. Chad
    Chad avatar
    2 posts
    Member since:
    Sep 2011

    Posted 23 Nov 2011 Link to this post

    Dear Sir/Madam,

    I've been using artificial fields in the past to extend existing modelled classes however I wanted to add an artificial type following the guide here and I received the following exception


    Mapping for class 'XXX' is specified in file 'config' but the class could not be found. --> (Database.Get parameter):mapping-id=mssqlMapping/namespace[XXX]/class[XX]"}

    Inner Exception:
    {"Could not load type 'XXX.XX' from assembly 'Telerik.OpenAccess.Runtime, Version=2011.2.713.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342'.":"XXX.XX"}

    The artificial type is in the same namespace as the existing model, is there a setting im missing that tells the metadatabuilder to not try looking up the class?

    Any help would be greatly appreciated,


  2. Zoran
    Zoran avatar
    534 posts

    Posted 28 Nov 2011 Link to this post

    Hi Chad,

    We were not able to reproduce the exception you are seeing locally. This exception usually means that the following line in the configuration is missing:

    <extension key="artificial-types" value=""/>

    Can you double check that it is there and if you confirm it, I would like to ask you, if possible, to send us a sample application that reproduces the issue so we can debug it on our site.

    the Telerik team

    Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Back to Top