Error after installation - trying to create in VS2005

Posted by: ddormier on 8 September 2017, 12:31 pm EST

  • Posted 8 September 2017, 12:31 pm EST

    I've installed the trial version and am using VS2005\VB.  After manually adding the control to the toolbox, I receive this error when adding it to a new form:


    Failed to create component 'FpSpread'.  The error message follows:

    'System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.

    Parameter name: length

    at System.String.InternalSubStringWithChecks(Int32 star tIndex, Int32 length, Boolean fAlwaysCopy)

    at FarPoint.Win.Spread.SpreadSoftwareSecureLicenseProvider.a(String A_0, Int32 A_1, Int16& A_2, Int16& A_3)

    at FarPoint.WindSpread.SpreadSoftwareSecureLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions)

    atSystem.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allExceptions, License& license, String& licenseKey)

    at System.ComponentModel.LicenseManager.ValidateInternal(Type type, Object instance, Boolean allowExceptions, License& license)

    at System.ComponentModel.LicenseManager.Validate(Type type, Object instance)

    at FarPoint.Win.Spread.FPSpread.ctor()'


    Any ideas on how I should proceed?


  • Replied 8 September 2017, 12:31 pm EST


    This is the same error you get if you try to install an older version of the Spread product that was not working with Visual Studio 2005. Make sure of the version of the control you are adding as references in your project and drawing on the form.

  • Replied 8 September 2017, 12:31 pm EST

    That fixed it.

Need extra support?

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

Learn More

Forum Channels