Page 1 of 1

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

Posted: Fri 23 May 2014 19:25
by Braveheart
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!

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

Posted: Mon 26 May 2014 11:44
by MariiaI
Probably, the code that executes as Background Agent does not have access to the application and its resources, where the license is stored.

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

Posted: Tue 27 May 2014 14:18
by Braveheart
Any way we can make this to work?

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

Posted: Wed 28 May 2014 09:35
by MariiaI
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.

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

Posted: Thu 29 May 2014 16:00
by Braveheart
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.

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

Posted: Fri 30 May 2014 05:35
by MariiaI
If you have any further questions, feel free to contact us.