This is a migrated thread and some comments may be shown as answers.
Must to install OpenAccess to run?
9 Answers 70 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ayumi hinako
Top achievements
Rank 1
ayumi hinako asked on 04 Dec 2009, 08:37 AM
Hi. I use the OpenAccess to develop a simple WinForm application. In other computers, I have to install OpenAccess to run it, otherwise it cannot run. Does it necessary to install the OpenAccess software?
Thank you!

9 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 04 Dec 2009, 04:36 PM
Hi ayumi hinako,

If you want to compile the project on other computers, they should have Telerik OpenAccess ORM installed. OpenAccess uses a special "Enhancer" program to add some necessary code to the compiled assembly that contains the persistent classes. If OpenAccess (and the enhancer) is not installed this code will not be added and the application will not work.
However, you should be able to run the compiled application on other computers.

Regards,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
ayumi hinako
Top achievements
Rank 1
answered on 06 Dec 2009, 03:20 AM
Thanks for your reply.
I mean, if I just  want to run a compiled application(not compile it), should I have the OpenAccess ORM installed in other computers?
Thank you.


Best regards
Ayumi
0
IT-Als
Top achievements
Rank 1
answered on 06 Dec 2009, 08:40 AM
Hi ayumi,

No, it will not require OpenAccess to be installed on the computers you run your app/web/services you have built using OpenAccess.
Naturally, you have to deploy the OpenAccess required assemblies, that your app uses.

Regards

Henrik
0
ayumi hinako
Top achievements
Rank 1
answered on 06 Dec 2009, 04:14 PM
Hi Alexander and Henrik,

I have thought that OpenAccess ORM installed is not require for app/web to run. But in other computers, the app which I used OpenAccess could't run, and I had the Telerik.OpenAccess.dll, Telerik.OpenAccess.Query.dll in the app folder. But after installed the OpenAccess ORM, it run OK. What's maybe the problem? And how to deploy the app environment accurately?

Thank you!

Best regards

Ayumi
0
Accepted
IT-Als
Top achievements
Rank 1
answered on 06 Dec 2009, 06:43 PM
Hi Ayumi,

It looks fine with the Telerik.OpenAccess.Query.dll if you use LINQ and the Telerik.OpenAccess.dll is also required.
What kind of backend are you using (SQL Server, mySQL, Oracle...)?

Check out this link from the docs, it should help you..

Regards

Henrik
0
ayumi hinako
Top achievements
Rank 1
answered on 07 Dec 2009, 01:39 AM
Hi Henrik,

I read that link and deploy the complete content of the Telerik OpenAccess ORM \bin installation folder together with my application, and it works, it must have some essential dll to execute that I have missed. By the way, I use SQL server.

Thanks very much for all your help.

Best regards

Ayumi
0
Accepted
IT-Als
Top achievements
Rank 1
answered on 07 Dec 2009, 05:37 AM
Hi Ayumi,

Glad it worked out. Could I please make you mark the question as Answered using the checkbox?

Kind regards

Henrik
0
ayumi hinako
Top achievements
Rank 1
answered on 07 Dec 2009, 06:55 AM
Hi Henrik,

I'm sorry I just known how to change the question's state.
Thank you again!

Best regards

Ayumi
0
IT-Als
Top achievements
Rank 1
answered on 07 Dec 2009, 08:16 AM
Thanks :-)
Tags
General Discussions
Asked by
ayumi hinako
Top achievements
Rank 1
Answers by
Alexander
Telerik team
ayumi hinako
Top achievements
Rank 1
IT-Als
Top achievements
Rank 1
Share this question
or