Page 1 of 1

'0' is not a valid value for property 'ColumnSpan'.

Posted: Tue Nov 21, 2017 3:40 pm
by ProIT
Hi there

When you create a new virtual machine in azure and try to run the wpf designer (Designer.Wpf.exe) from the current stimulsoft download (stimulsoft-reports-2017.2.3-Pack\Designers\.NET) you get
the following exception immediately:
----------------------------
[General Info]

Application: Stimulsoft Reports
Framework: v4.0.30319
Version: Version: 2017.2.3 from 25 October 2017
MachineName: WSWIN10PT100
OSVersion: Microsoft Windows NT 6.2.9200.0
UserName: proit

----------------------------
[Exception Info]
Message: '0' is not a valid value for property 'ColumnSpan'.

Source: WindowsBase

StackTrace:
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Stimulsoft.Report.WpfDesign.StiWpfPropertiesPanelService.Init(StiWpfDesignerControl designer)
at Stimulsoft.Report.WpfDesign.StiWpfDesignerControl..ctor(StiReport report, Boolean isRibbonGuiMode)
at Stimulsoft.Report.WpfDesign.StiWpfDesigner..ctor(StiReport report)
at Designer.Wpf.App.OnStartup(StartupEventArgs e)

----------------------------
[Assemblies]
mscorlib, Version = 4.0.0.0
PresentationFramework, Version = 4.0.0.0
Stimulsoft.Base, Version = 2017.2.3.0
Stimulsoft.Report, Version = 2017.2.3.0
Stimulsoft.Report.Import, Version = 2017.2.3.0
Stimulsoft.Report.Wpf, Version = 2017.2.3.0
Stimulsoft.Report.WpfDesign, Version = 2017.2.3.0
System, Version = 4.0.0.0
System.Data, Version = 4.0.0.0

It seems like you set somewhere in the function Stimulsoft.Report.WpfDesign.StiWpfPropertiesPanelServiceInit(StiWpfDesignerControl designer) the column span property (ColumnSpanProperty) to 0.

If you would like I can organize a team viewer session to have a look at the virtual machine.

DesignerV2.Wpf.exe and Designer.WinForms.exe work without any issue.

Thank you for your help.

Mike Hachen

Re: '0' is not a valid value for property 'ColumnSpan'.

Posted: Thu Nov 23, 2017 5:32 am
by Alex K.
Hello,

We have found that issue occurs in specific systems.
We have added additional checks. Will be available in the next release.

Also, if you need it immediately, please send us a request on support@stimulsoft.com

Thank you.

Re: '0' is not a valid value for property 'ColumnSpan'.

Posted: Thu Nov 23, 2017 5:36 am
by ProIT
Hi

Great, thank you. As a workaround we switched to DesignerV2.Wpf. Therefore we can wait for the next release.

Have a nice day
Mike

Re: '0' is not a valid value for property 'ColumnSpan'.

Posted: Thu Nov 23, 2017 10:30 am
by HighAley
Hello, Mike.

Our next build should be available in a week.

Thank you.