deploy project with telerik data access

5 posts, 0 answers
  1. Yehudah
    Yehudah avatar
    19 posts
    Member since:
    Feb 2014

    Posted 17 Jun 2014 Link to this post

    Hi!
    i created a project with telerik data access ORM.
    i create the project on my machine, win7+visual studio 2013.

    i'm very enjoy, and want to deploy the project.

    the target machine, is XP.
    i want copy-paste the assemlies, without installation.

    when i run the project, i get an exeption, "the project could not load telerik.openacces.runtime".
    i copied also the telerik.openacces.runtime.dll, but it not resolved the error.

    I  would be grateful for any response.
    -- yehuda
  2. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 20 Jun 2014 Link to this post

    Hello Yehuda,

    Thank you for your interest in Telerik Data Access.

    The appearance of the error on your side depends strongly on the scenario and in order to avoid misleading you in the process could you provide the following information:
    1. What technologies do you use for developing the application?
    2. How is the solution structured?
    3. How do the different projects in the solution reference each other?
    4. What are the steps you performed until now to deploy the application?

    I am looking forward to solving the situation with you.



    Regards,
    Doroteya
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  3. DevCraft banner
  4. Yehudah
    Yehudah avatar
    19 posts
    Member since:
    Feb 2014

    Posted 24 Jun 2014 in reply to Doroteya Link to this post

    Hi Doroteya!

    Thank you for your replay!
    My situation, is very simply:

    I created a console application, with "FlunteModel" context.
    the application creates an instance of the context, and prints something to the console.

    Here is the code:
    class Program
    {
        static void Main(string[] args)
        {
            using (FluentModel context = new FluentModel())
            {
                foreach(Target t in context.Targets)
                {
                    Console.WriteLine(t.Id.ToString());
                }
            }
     
            Console.Read();
        }
    }

    I run the project, and it's work well.

    now, i want copy the program to the another computer. i open the bin/debug folder, and copy the files to the target machine.
    And it's not working...

    I set "Copy local = TRUE" For OpenAccess DLL, and it's not help.

    thank you again for any help!
  5. Yehudah
    Yehudah avatar
    19 posts
    Member since:
    Feb 2014

    Posted 25 Jun 2014 in reply to Yehudah Link to this post

  6. Doroteya
    Admin
    Doroteya avatar
    502 posts

    Posted 30 Jun 2014 Link to this post

    Hi Yehuda,

    I am glad that things are working on your side.

    Indeed, placing the assemblies described in the article in the bin folder of the application is necessary when you need to run it on a machine that does not have Telerik Data Access installed on it.

    Based on the provided information, this is the only requirement for a successful deployment, and you do not need to perform any additional adjustments.

    If you need further information, or have additional questions, do not hesitate to get back to us.



    Regards,
    Doroteya
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
Back to Top
DevCraft banner