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

deploy project with telerik data access

4 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yehudah
Top achievements
Rank 1
Yehudah asked on 17 Jun 2014, 08:57 PM
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

4 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 20 Jun 2014, 08:50 AM
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.
 
0
Yehudah
Top achievements
Rank 1
answered on 24 Jun 2014, 09:18 PM
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!
0
Yehudah
Top achievements
Rank 1
answered on 25 Jun 2014, 07:30 PM
0
Doroteya
Telerik team
answered on 30 Jun 2014, 06:57 AM
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.
 
Tags
General Discussions
Asked by
Yehudah
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Yehudah
Top achievements
Rank 1
Share this question
or