Mobile merge or embedd mysql.data.dll problem ?
-
- Posts: 7
- Joined: Thu 26 May 2011 13:09
- Location: Romania
- Contact:
Mobile merge or embedd mysql.data.dll problem ?
i use .Net Reactor to protect my software and I'm trying to merge or embedd the dll in my application so i will not be visible. I add all my dll in Net reactor i select the MergeAssemblies ... All my other dll work corectly .. but Mysql.data.dll says "license not found" ... if i deploy my appliction without trying to merge my assembly with mysql.data.dll it works but the user has access to the dll and could delete it.
-
- Posts: 7
- Joined: Thu 26 May 2011 13:09
- Location: Romania
- Contact:
1. Please specify the exact version (x.xx.xxx) and edition (Professional, Mobile, etc) of dotConnect for MySQL you are using. You can find it in the Tools > MySQL > About menu of Visual Studio. It should be of the 6.30.165 or higher version (revision history).
2. Tell us the version (x.x.x.x) of your .NET Reactor and the exact steps we should follow to reproduce the issue. Are you getting "license not found" when building the result assembly in .NET Reactor or when deploying it in your production environment?
I cannot reproduce the problem with a console application using dotConnect for MySQL v 6.30.172 Professional and .NET Reactor v 4.4.0.0 (default settings + selected the "Merge Assemblies" option).
2. Tell us the version (x.x.x.x) of your .NET Reactor and the exact steps we should follow to reproduce the issue. Are you getting "license not found" when building the result assembly in .NET Reactor or when deploying it in your production environment?
I cannot reproduce the problem with a console application using dotConnect for MySQL v 6.30.172 Professional and .NET Reactor v 4.4.0.0 (default settings + selected the "Merge Assemblies" option).
3. As a workaround, try embedding instead of merging (http://www.eziriz.com/help/merge.html):
"3rd party libraries are often already protected and it is not recommend to merge them with the main assembly. If you have troubles merging assemblies you should embed them inside the main assembly instead."
"3rd party libraries are often already protected and it is not recommend to merge them with the main assembly. If you have troubles merging assemblies you should embed them inside the main assembly instead."
-
- Posts: 7
- Joined: Thu 26 May 2011 13:09
- Location: Romania
- Contact:
i am using dotConnect Mobile for MySQL Standard Edition 6.30.172 ... .Net Reactor 4.4.0.0 ... I made a project in .Net Reactor ... added in Main Assembly the path to \bin\Debug\My Project.exe then added Additional Files some 2 dll's of mine (custom controls) and C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\Devart.Data.MySql.dll ... i checked The MergeAssemblies box ... Set my protection preset as Application Strongest ... and that's about it in .net reactor. Now in Visual Studio ... Tools -> .Net Reactor -> checked Enabled -> Added the path to my .net reactor project .. Output File is \ and also i checked Project Output is part of a Deployment Project ... And when i click Deploy .Net Reactor looks like it's doing his job ... the application is beeing deployed on my Windows CE Device. Now judging from my file size the dll is merged into the main assembly.. when my application is trying to open a mysql connection it gives : License not found. Please view "Licenseing" topic in dotConnect for MySQL documentation for details or contact Devart technical support.
I've tryed without checking Project Output is part of a Deployment Project .. same thing ... checking Merge Only (No protection) ... same thing ... checking Embedd Assemblies ... when the application is deployed on my Windows Ce Device ... it also deployes Devar.Data.Mysql.dll ... in the application folder ... if i leave it there it works ... but when i delete it ... it says that Devart.Data.Mysql or one if its dependencies was not found ... so Embedd Assemblies is not the way for me. I've tryed with the Application Standard preset ... same thing ... btw if i click Scan for Additional files in .net reactor Devart.data.mysql is not added automatically ... i have to add it myself ... if i set the property Copy local True for devar.data.mysq.dll ... then it.s added automatically ... but with the same result .. license not found ...
I've tryed without checking Project Output is part of a Deployment Project .. same thing ... checking Merge Only (No protection) ... same thing ... checking Embedd Assemblies ... when the application is deployed on my Windows Ce Device ... it also deployes Devar.Data.Mysql.dll ... in the application folder ... if i leave it there it works ... but when i delete it ... it says that Devart.Data.Mysql or one if its dependencies was not found ... so Embedd Assemblies is not the way for me. I've tryed with the Application Standard preset ... same thing ... btw if i click Scan for Additional files in .net reactor Devart.data.mysql is not added automatically ... i have to add it myself ... if i set the property Copy local True for devar.data.mysq.dll ... then it.s added automatically ... but with the same result .. license not found ...
We have reproduced the "License not found" error with the assembly that is merged with Devart.Data.MySql.dll - it doesn't matter if merging is done with Reactor .NET or ILMerge.exe. The problem is specific only for Mobile Edition. We will investigate the issue and notify you about the results as soon as possible. As a workaround, please deploy your application with Devart.Data.MySql.dll as a separate assembly.
-
- Posts: 7
- Joined: Thu 26 May 2011 13:09
- Location: Romania
- Contact:
-
- Posts: 7
- Joined: Thu 26 May 2011 13:09
- Location: Romania
- Contact:
any fixes ?
did this get fixed in 6.50 ?
New build of dotConnect for MySQL 6.50.228 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/mysql/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=22165 .
It can be downloaded from http://www.devart.com/dotconnect/mysql/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=22165 .