Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unlicensed Application

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support
View previous topic :: View next topic  
Author Message
MRyter



Joined: 29 Jan 2019
Posts: 4

PostPosted: Tue Jan 29, 2019 3:12 pm    Post subject: Unlicensed Application Reply with quote

For our software we use Infralution Virtual Tree. Everything works fine, the virtual tree works as they should but every time I start the software the message "Unlicensed Application" "This application was created using an unlicensed evaluation version of the Infralution.Controls Library" appears 3 times (For each Project in the Solution 1 time).

I already added the license key for the infralution virtualtree but this message still appears. The virtualtree dll's are in all of the projects and the compiled dll from each of the projects from us where loaded while runetime and then the "Unlicensed Application" Error appears.

We use the version 3.14.0.0 in Visual Studio 2017. I already checket this post out http://www.infralution.com/phpBB2/viewtopic.php?t=21 and it doesn't solve my problem. I deleted all bin and obj folder and rebuild the whole solution. I reinstalled Infralution and I also checked that the license file were at the right place.

What can I do?

Best Regards
Michael Ryter
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Feb 02, 2019 2:40 am    Post subject: Reply with quote

Given the message you posted it looks like your application may be using some controls from the Infralution.Controls library (since the message says "Infralution.Controls" not "VirtualTree") so you need an entry to your licenses.licx file for these similar to:

Infralution.Controls.UniversalEditBox, Infralution.Controls, Version=4.7.0.0, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
MRyter



Joined: 29 Jan 2019
Posts: 4

PostPosted: Mon Feb 04, 2019 1:20 pm    Post subject: Reply with quote

Infralution wrote:
Given the message you posted it looks like your application may be using some controls from the Infralution.Controls library (since the message says "Infralution.Controls" not "VirtualTree") so you need an entry to your licenses.licx file for these similar to:

Infralution.Controls.UniversalEditBox, Infralution.Controls, Version=4.7.0.0, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f


This worked for me! Thank you so much.
Back to top
View user's profile Send private message
MRyter



Joined: 29 Jan 2019
Posts: 4

PostPosted: Fri Mar 01, 2019 8:58 am    Post subject: Unlicensed Application on other machine Reply with quote

With the entry for the license file you given to me, everything worked on my computer. Now i packed everything together and installed the resulting msi File on my pc.

Everything ok, but now I installed it on another pc and there the message "Unlicensed application" came back.

I create the msi file from my C# Project with the Wix Toolset and I am now wondering why the licence file got found on my pc but not on any other pc?

Best regards
Michael Ryter
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Mar 02, 2019 1:00 am    Post subject: Reply with quote

This probably means that the runtime license has not been saved and compiled into the resources for your application correctly. If the license is not in the resources the code will check for an installed design time license and will still run without the evaluation message if it finds the design time license. To verify that your application executable has the runtime license information embedded correctly you can temporarily rename the design time license files

C:\ProgramData\Infralution\Licenses\InfralutionControls4.lic
C:\ProgramData\Infralution\Licenses\VirtualTree4.lic

And then run your application. Remember to rename the license files back after trying this.

You may need to force Visual Studio to recompile the runtime license information by exiting Visual Studio and deleting the obj and bin directories for each of the projects in your solution. This forces Visual Studio to recompile everything.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
MRyter



Joined: 29 Jan 2019
Posts: 4

PostPosted: Mon Mar 04, 2019 10:03 am    Post subject: Reply with quote

Thanks for your response. It helped me to find the solution.
Stupid and simple, I just had to add the licx file to the solution project where the exe get builded and not only in the projects where I use Infralution Components.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Licensing Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group