Posted 8 September 2017, 3:09 pm EST
I recently installed Spread .NET 6 and have upgraded my
WinForms project (.NET 4.0) to use the new controls.
Here's what I've done:
1. Removed all the
references to the old Version 5 controls
2. Deleted the
references to the Version 6 controls
Everything seems to be working just fine in design
mode. However, when I run the
application (from either inside VS 2010 or via the EXE file) and open the form
containing the Spread control, I get a dialog that says:
An appropriate license has not been given to the program.
License for the Spread cannot be found in the
program. Please make sure that
license.licx exists in your project and check its validity before you try
building the program again.
Component assembly name: Farpoint.Win.Spread
Component assembly version: 6.0.3501.2008
Inside my license file I have the entry: FarPoint.Win.Spread.FpSpread, FarPoint.Win.Spread,
I have removed references, deleted .licx, re-added references, restarted VS 2010, etc a number of times as discussed in posts I found via Google. No luck with anything.
A few other notes...
this project exists on a closed
network, so the info I included above was hand-typed into this post versus
cut-and-paste, just in case there are typos.
the Spread control is in a DLL that is referenced from the main
EXE, just in case that figures into the situation.
I am using VS 2010 Ultimate on Windows 7 64-bit
I am pretty much dead in the water until I get this figured out.
/* Style Definitions */
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-bidi-font-family:"Times New Roman";