License warning when running deployed app?

All topics not related to another forum.

Moderators: Phil Wright, Chris Porter

License warning when running deployed app?

Postby robains » Wed Jun 23, 2010 4:14 am

I'm running Krypton 4.1.6 and deployed my app, but I'm getting a license error when running my App on another test/client PC? Am I missing something in my deployment. My company has purchased two developer licenses so I'm a little confused what's going on here.

Thanks, Rob.
robains
 
Posts: 80
Joined: Tue May 13, 2008 2:27 am
Location: CA

Re: License warning when running deployed app?

Postby robains » Wed Jun 23, 2010 4:31 am

Update, checked the following for .lic files and found NONE?

C:\Program Files (x86)\Component Factory\Krypton Suite 4.1.6\Bin

Ran the Krypton Explorer and Krypton Serial Keys application, shows that I have registered keys for 3.5.0, 4.0.0, and 4.1.0. But no .lic files to be found anywhere?

Help! App runs fine under VS 2008, but when I deploy, I get the license warning.

I am running in "offline" mode as my projects are under VSS -- could this be the issue?
robains
 
Posts: 80
Joined: Tue May 13, 2008 2:27 am
Location: CA

Re: License warning when running deployed app?

Postby JoostS » Wed Jun 23, 2010 9:45 pm

I have this problem also now and then. The solutions is to compile the source by yourself and replace the *.dll's in the program files folder with those, that should resolve the problem.

However, I think it's a problem that should be solved by the Component Factory and not by us. This is the only component suite we bought that has this problem, and we and our customers are not very happy with this license warning. Besides that, I have to say this is one of the nicest component suites available for winforms.
JoostS
 
Posts: 35
Joined: Mon Jan 12, 2009 6:12 pm

Re: License warning when running deployed app?

Postby robains » Thu Jun 24, 2010 12:50 am

Thanks for the response. Not sure what you mean when you say "compile the source by yourself"? Has Phil outlined a procedure for this? If this has to be done post deployment on client side, that's just not a viable option.

I didn't have this problem with 4.1.5 only when I upgraded to 4.1.6.

Rob
robains
 
Posts: 80
Joined: Tue May 13, 2008 2:27 am
Location: CA

Re: License warning when running deployed app?

Postby JoostS » Thu Jun 24, 2010 5:49 pm

When I asked this question by email, I got the following response from Phill:

I recommend you build the source code of the Krypton assemblies and then use that local build inside of the default assemblies installed. The source code does not contain any license checking and so using those local built versions will ensure you never get a license error. You can find the source code at…

XP: C:\Documents And Settings\[Username]\Application Data\Component Factory\Krypton\Source\...
Vista: C:\Users\[UserName]\AppData\Roaming\Component Factory\Krypton\Source\...
Windows7: C:\Users\[UserName]\AppData\Roaming\Component Factory\Krypton\Source\...
JoostS
 
Posts: 35
Joined: Mon Jan 12, 2009 6:12 pm

Re: License warning when running deployed app?

Postby robains » Fri Jun 25, 2010 1:51 am

That's interesting, but is that really the only solution to this problem? Like I said, this wasn't a problem in 4.1.5? Will and uninstall and re-install of 4.1.6 solve this license issue? The license registry application that comes with Krypton is showing my valid key?

Thanks, Rob.
robains
 
Posts: 80
Joined: Tue May 13, 2008 2:27 am
Location: CA

Re: License warning when running deployed app?

Postby Phil Wright » Tue Jul 06, 2010 3:11 pm

The reason I recommend compiling the source code is that there seem to be a couple of different odd issues with licensing which occur for a small number of Krypton customers but oddly they only occur for a few customers and not the majority. Most customers enter the license key and then distribute the application and everything always works fine.

But some find that on some machines the application reports a license error and yet on other machines it never does. Alternatively they have a perfectly working application for version after version of Krypton and then suddenly they get a license error when updating to the latest version. Even though everything looks fine it just stops working correctly. The recommended solution is build the source code because it does not contain license checking code (not much point as anyone could just remove it form the code anyway) and use those assemblies. This is ideal because it guarantees that you will not get a license error in your application. Customers want that guarantee and peace of mind knowing that it will work as expected.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: License warning when running deployed app?

Postby robains » Wed Jul 07, 2010 2:07 am

When you say "Source code" -- are you refering to may Apps source code or the Krypton suite source code? If the Krypton suite source code ... I can't seem to find that on my PC?

If you are refering to my application source code then a recompile does NOT seem to solve the problem.

If you are refering to Krypton source code, could you outline where the source is and what project files I should load and compile and/or a link/doc on how this is accomplished and what project references (in my applications) I will need to change?

Thanks, Rob.
robains
 
Posts: 80
Joined: Tue May 13, 2008 2:27 am
Location: CA

Re: License warning when running deployed app?

Postby Phil Wright » Wed Jul 07, 2010 11:30 am

The location of the installed source code is...

XP: C:\Documents And Settings\[Username]\Application Data\Component Factory\Krypton\Source\...
Vista: C:\Users\[UserName]\AppData\Roaming\Component Factory\Krypton\Source\...
Windows7: C:\Users\[UserName]\AppData\Roaming\Component Factory\Krypton\Source\...
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests