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

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

Postby 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!
Braveheart
 
Posts: 11
Joined: Wed 12 Jun 2013 20:19

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

Postby 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.
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

Postby Braveheart » Tue 27 May 2014 14:18

Any way we can make this to work?
Braveheart
 
Posts: 11
Joined: Wed 12 Jun 2013 20:19

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

Postby 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.
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

Postby 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.
Braveheart
 
Posts: 11
Joined: Wed 12 Jun 2013 20:19

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

Postby MariiaI » Fri 30 May 2014 05:35

If you have any further questions, feel free to contact us.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to LinqConnect (LINQ to SQL support)