Invalid object name 'voa_keygen'.

8 posts, 0 answers
  1. amir sherafatian
    amir sherafatian avatar
    42 posts
    Member since:
    Aug 2009

    Posted 19 Apr 2010 Link to this post

    hi
    (i use multi database)

    and my senario is fetch data from one data base by using reverse mapping, converting to new object in a intermediate windows application and add new object in another darabase by using forward mapping

    first i get a scope of forward mapping classlibrary by this code :

    ObjectScopeProvider1.AdjustForDynamicLoad();
    _scope = Database.Get("DatabaseConnectionEEOptimizer").GetObjectScope();

     and then i try to get one instance of object scope of reverse mapping class library to fetch data by this code :

    ObjectScopeProvider1.AdjustForDynamicLoad();
    _scope = Database.Get("DatabaseConnectionISO").GetObjectScope(); 

    but when i want to get scope by code mentioned above i have this exception :

    Telerik.OpenAccess.RT.sql.SQLException: Invalid object name 'voa_keygen'.
       at Telerik.OpenAccess.RT.Adonet2Generic.Impl.StatementImp.executeQuery(String sql)
       at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.IsCached(Connection con, RelationalKeyGeneratorInfoCache infoCache, String tab, String kCol, String vCol, String key, Boolean& ret)
       at OpenAccessRuntime.Relational.sql.HighLowRelationalKeyGenerator.init(String className, RelationalTable theClassTable, Connection con, RelationalKeyGeneratorInfoCache relationalKeyGeneratorInfoCache)
       at OpenAccessRuntime.Relational.RelationalStorageManagerFactory.init(Boolean full)

    i use reverse mapping class library for fetch data and after converting in a intermediate windows application, by using forward mapping i try to add data to another database

    how can i solve my problem ?

  2. amir sherafatian
    amir sherafatian avatar
    42 posts
    Member since:
    Aug 2009

    Posted 20 Apr 2010 Link to this post

    can any body help me?
  3. DevCraft banner
  4. Joebet
    Joebet avatar
    23 posts
    Member since:
    Jun 2010

    Posted 04 Aug 2010 Link to this post

    Well lets just admit it Telerik Open Access ORM is a great tool. But there support team sucks. every ticket we post takes 2 - 3 days to be answered or replied. And for your topic its been 4 months without any answer.
  5. Serge
    Admin
    Serge avatar
    375 posts

    Posted 06 Aug 2010 Link to this post

    Hello Joebet,

    This post was in fact a double thread and we have answered in a timely fashion to Amir. I am sorry if you have felt that we are not fast enough but one has to note that we have been under a lot of pressure around the last release.

    Be sure not to hold back any though you have on this matter. Thanks again for pointing this out, I can assure you that we will do our best to live up to your expectations.

    Greetings,
    Serge
    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. Brad
    Brad avatar
    12 posts
    Member since:
    May 2010

    Posted 05 Jan 2011 Link to this post

    so where's the other "double" thread?
  7. Serge
    Admin
    Serge avatar
    375 posts

    Posted 07 Jan 2011 Link to this post

    Hi amir sherafatian,

     Unfortunately the other thread is a Product Feedback one and thus cannot be exposed to the public. We will be more than happy to address any issues you might have, however please do open separate support tickets for them. 

    Regards,
    Serge
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
  8. Behnam
    Behnam avatar
    2 posts
    Member since:
    Feb 2011

    Posted 17 Feb 2011 Link to this post

    I downloaded you products and start testing that.
    I am not your customer yet, but I have this problem. what should I do?
  9. Serge
    Admin
    Serge avatar
    375 posts

    Posted 21 Feb 2011 Link to this post

    Hello Brad,

     Can you please explain you exact problem, what the exception states and when did it start occuring. Are you using the new designer or the old wizards approach. Usually this exception means that the lookup table for the internal identity generator could not be found. Can you please make sure that every class you have has its identity specified and also make sure that the view have identities as well. 

    If you are using the designer you can also have a look at the validation framework and see if something pops up there. 

    I am looking forward to resolving this issue with you.

    Regards,
    Serge
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner