This is a migrated thread and some comments may be shown as answers.

Invalid object name 'voa_keygen'.

7 Answers 351 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
amir sherafatian
Top achievements
Rank 1
amir sherafatian asked on 19 Apr 2010, 10:35 AM
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 ?

7 Answers, 1 is accepted

Sort by
0
amir sherafatian
Top achievements
Rank 1
answered on 20 Apr 2010, 06:51 AM
can any body help me?
0
Joebet
Top achievements
Rank 1
answered on 05 Aug 2010, 04:43 AM
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.
0
Serge
Telerik team
answered on 06 Aug 2010, 02:59 PM
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
0
Brad
Top achievements
Rank 1
answered on 05 Jan 2011, 05:09 PM
so where's the other "double" thread?
0
Serge
Telerik team
answered on 07 Jan 2011, 10:25 AM
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.
0
Behnam
Top achievements
Rank 1
answered on 17 Feb 2011, 01:49 PM
I downloaded you products and start testing that.
I am not your customer yet, but I have this problem. what should I do?
0
Serge
Telerik team
answered on 21 Feb 2011, 10:38 PM
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!
Tags
Databases and Data Types
Asked by
amir sherafatian
Top achievements
Rank 1
Answers by
amir sherafatian
Top achievements
Rank 1
Joebet
Top achievements
Rank 1
Serge
Telerik team
Brad
Top achievements
Rank 1
Behnam
Top achievements
Rank 1
Share this question
or