Designer fails to load

Posted by: juan.comas on 28 January 2020, 7:18 pm EST

  • Posted 28 January 2020, 7:18 pm EST

    Designer fails to load when a new FpSpread is created on a form with:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Failed to create component 'FpSpread'. The error message follows:

    'System.NullReferenceException: Object reference not set to an instance of an object.

    at FarPoint.Win.Spread.Design.SpreadDesigner.ShowSpreadDesigner()

    at FarPoint.Win.Spread.Design.SpreadDesigner.InitializeNewComponent(IDictionary defaultValues)

    at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues)

    at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues)

    at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 height, Boolean hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgs e)'
    ---------------------------
    OK
    ---------------------------
    I am using VS Community 2019 (16.4.3)
    Could you help ?
  • Marked as Answer

    Replied 29 January 2020, 5:29 pm EST

    Hi,

    Can you try to re-install Spread and then try? Re-installation might resolve the exception.
    If the issue persists, please share the Spread version you are using along with OS version.

    Thanks,
    Ruchir
  • Replied 4 February 2020, 7:36 pm EST

    Finally I found the problem.

    I was trying to add a FpSpread in a x64 project, what seems not being currently supported.

    In a x86 project there is no problem.

    Just a comment to say that maybe you can try to create a version that will support both, x64 and x86 projects. If I am right, most current machines are x64 architecture.

    BR
    Juan
  • Replied 5 February 2020, 4:31 pm EST

    Hi Juan,

    FpSpread does support x64 architecture. I verified this at my end using VS19 and dropping the control onto a form of a Windows Forms project targeted for x64 solution platform and it works properly.

    Thanks,
    Ruchir
Need extra support?

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

Learn More

Forum Channels