Must to install OpenAccess to run?

Thread is closed for posting
10 posts, 2 answers
  1. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 04 Dec 2009 Link to this post

    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!
  2. Alexander
    Admin
    Alexander avatar
    727 posts

    Posted 04 Dec 2009 Link to this post

    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.
  3. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 05 Dec 2009 Link to this post

    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
  4. IT-Als
    IT-Als avatar
    381 posts
    Member since:
    Sep 2008

    Posted 06 Dec 2009 Link to this post

    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
  5. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 06 Dec 2009 Link to this post

    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
  6. Answer
    IT-Als
    IT-Als avatar
    381 posts
    Member since:
    Sep 2008

    Posted 06 Dec 2009 Link to this post

    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
  7. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 06 Dec 2009 Link to this post

    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
  8. Answer
    IT-Als
    IT-Als avatar
    381 posts
    Member since:
    Sep 2008

    Posted 06 Dec 2009 Link to this post

    Hi Ayumi,

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

    Kind regards

    Henrik
  9. ayumi hinako
    ayumi hinako avatar
    17 posts
    Member since:
    Oct 2009

    Posted 07 Dec 2009 Link to this post

    Hi Henrik,

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

    Best regards

    Ayumi
  10. IT-Als
    IT-Als avatar
    381 posts
    Member since:
    Sep 2008

    Posted 07 Dec 2009 Link to this post

    Thanks :-)
Back to Top