Invalid License for Spread for Win Forms v5

Posted by: tony-j on 8 September 2017, 2:41 pm EST

  • Posted 8 September 2017, 2:41 pm EST

    hello,

    I have just upgraded to Spread for Win Forms v5 from v3 and the first time I ran the DLL contaning a Form with the Spread component and I got an error:

    Invalid Far Point License ... License has expired.

    After reading a Post here it says that you must compile the DLL AND the calling EXE with the license info, problem is I have no access to the exe that calls my DLL this is written elsewhere, the DLL is referenced during startup and provides a set of overrides to standard functions that use Spread for display.

     Is there any way I can continue using Spread 5

  • Replied 8 September 2017, 2:41 pm EST

    Hello,

    After upgrading to Spread version 5.0 have you upgrade the licenses.licx file as well? I would request you to please delete all the references of Spread version 3 first from your application along with deleting licenses.licx file and then again add the references of the Spread version 5.0 in your application. Opening the form later on in design mode will create the licenses.licx file and then try running your application and it will work without any licenses issue.

    Hope this will help you. Let us know your further observations on the same.

    Thanks.

  • Replied 8 September 2017, 2:41 pm EST

    Hi Reeva,

    I tried what you suggested and also created a new Form with a Spread Sheet in it, however there is no license.licx file created but there is a file VBProjectName.dll.licenses and this has a reference to FarPoint in it but this does not help.

    Tony

  • Replied 8 September 2017, 2:41 pm EST

    Hello Tony,

    First please check if you are able to create and run  a new project using Spread 5 if yes then you will see the License.licx file created in that project. Same way License.licx file needs to be created for the project which is being upgraded. After adding reference for Spread 5 please build the project there should be a license.licx created if not then you can  copy it from the newly created project or you can get it from any of the installed samples. Let me know if the issue still persists.

     

    Thanks,

     

     

  • Replied 8 September 2017, 2:41 pm EST

    Hi,

    There are some use cases where it is necessary to manually create the licx (if you did not create the control in design time, but wrote code to create it instead).  Usually adding a new Windows Form to the project and adding a FpSpread to it will fix the problem (then you can delete the form from the project).

  • Replied 8 September 2017, 2:41 pm EST

    Thanks to all,

     After creating a new project and adding a form with a spread control I could copy the licx file over to the original upgraded project and everythig worked fine.

    Tony

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels