Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Discussion of open issues, suggestions and bugs regarding LinqConnect – Devart's LINQ to SQL compatible ORM
Post Reply
Braveheart
Posts: 11
Joined: Wed 12 Jun 2013 20:19

Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by Braveheart » Fri 23 May 2014 19:25

Hi,
I am doing a small Windows phone 8 application to evaluate Linq connect to MySQL for Windows Phone (trial version). I generated a model to connect on my database and when I use it inside the main application project, all is working fine. However, when I want to use it in a Scheduled Tast Agent, a separated library called from my main projet I got this message :
An unhandled exception of type 'System.Exception' occurred in System.Windows.ni.dll

Additional information: License not found. Please view "Licensing" topic in LinqConnect documentation for details or contact Devart technical support.
I see that the file "Devart.Data.Myql.Linq.dll.licenses" is also in the properties of this project, like in my main project application.

Do you have any idea why license dont want to work from my Scheduled Task Agent?

Thank you in advance!

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by MariiaI » Mon 26 May 2014 11:44

Probably, the code that executes as Background Agent does not have access to the application and its resources, where the license is stored.

Braveheart
Posts: 11
Joined: Wed 12 Jun 2013 20:19

Re: Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by Braveheart » Tue 27 May 2014 14:18

Any way we can make this to work?

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by MariiaI » Wed 28 May 2014 09:35

As for the fact, that the code that executes as Background Agent does not have access to the application and its resources with the license, this issue is not related to LinqConnect for Windows Phone and, unfortunately, we can't give you an advice regarding this.
As for the licensing, when working with non-trial version of LinqConnect for Windows Phone, there is no need in generating license resource files and, thus, there should be no problems with the scenario you are implementing.

Braveheart
Posts: 11
Joined: Wed 12 Jun 2013 20:19

Re: Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by Braveheart » Thu 29 May 2014 16:00

ok thanks for answer. The goal of my question was to know if I will be able to do what I am trying to do with non-trial verion of LinqConnect for Windows Phone and I will.

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Problem with license in a Windows Phone 8 Scheduled Task Agent DLL

Post by MariiaI » Fri 30 May 2014 05:35

If you have any further questions, feel free to contact us.

Post Reply