Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Trial license using VS2005 on XP x64 (Read 4000 times)
dormeur
YaBB Newbies
*
Offline


Never mistake activity
for achievement

Posts: 3
Joined: Jan 19th, 2007
Trial license using VS2005 on XP x64
Jan 19th, 2007 at 6:58am
Print Post  
I've downloaded and installed the trial version of the Planner component.  I can use the component in the Visual Studio 2005 designer, but when I want to compile the project I get an error that a design-time license could not be found:

"Exception occurred creating type 'MindFusion.Scheduling.WinForms.Calendar, Calendar, Version=4.1.0.19866, Culture=neutral, PublicKeyToken=9bbcdceda2685d38' System.ComponentModel.LicenseException: Couldn''t get design-time license for ''MindFusion.Scheduling.WinForms.Calendar''"

I'm building this project on .NET 2.0 but I'm using target platform x86 (so no 64-bit).

However, when I build the source code using Nant on the command-line I get no errors and the application works fine.

This is what's in the licenses.licx file:

MindFusion.Scheduling.WinForms.Calendar, Calendar, Version=4.1.0.19866, Culture=neutral, PublicKeyToken=9bbcdceda2685d38

Does anybody know how I can fix this?  I'm using VS 2005 Standard Edition on Windows XP x64  (AMD x64 dual core) and .NET 2.0.

Regards
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Trial license using VS2005 on XP x64
Reply #1 - Jan 19th, 2007 at 7:31am
Print Post  
Can you please try to set the PublicKeyToken in the licenses.licx file to an empty string and try again? The licenses.licx file should look like this after the change:

MindFusion.Scheduling.WinForms.Calendar, Calendar, Version=4.1.0.19866, Culture=neutral, PublicKeyToken=

For some reason the contents of the license file did not correspond to the referenced Planner.NET assembly.

Meppy
  
Back to top
 
IP Logged
 
dormeur
YaBB Newbies
*
Offline


Never mistake activity
for achievement

Posts: 3
Joined: Jan 19th, 2007
Re: Trial license using VS2005 on XP x64
Reply #2 - Jan 19th, 2007 at 7:41am
Print Post  
Thanks, but that didn't help.  I've cleared the PublicKeyToken, but now I get another error:

'The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)'
  
Back to top
 
IP Logged
 
dormeur
YaBB Newbies
*
Offline


Never mistake activity
for achievement

Posts: 3
Joined: Jan 19th, 2007
Re: Trial license using VS2005 on XP x64
Reply #3 - Jan 19th, 2007 at 8:37am
Print Post  
Update: clearing the entire entry in the licenses.licx file fixes the problem!  The project compiles and the applications runs.

Regards
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Trial license using VS2005 on XP x64
Reply #4 - Jan 19th, 2007 at 5:15pm
Print Post  
Hi,

Clearing the line from the licenses.licx might work with the trial version , but I am not sure about the licensed one.

If you are using a 64-bit Windows, the problem might happen because the MSI service installs the control's design time registry key under the 32-bit section of the registry. But then .NET runs 64-bit, and the control looks for the design time key under the 64 bit registry branch. You can resolve this by copying this key:

HKEY_LOCAL_MACHINE\SOFTWARE\MindFusion Limited\ComponentLicenses

to the same path under the Wow64  branch of the registry.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint