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

Stimulsoft Reports.WPF discussion
Post Reply
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

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

Post 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
Attachments
Exception.txt
(1.49 KiB) Downloaded 212 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

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

Post 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.
User avatar
ProIT
Posts: 28
Joined: Thu Oct 17, 2013 8:10 am
Location: Muttenz

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

Post 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
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

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

Post by HighAley »

Hello, Mike.

Our next build should be available in a week.

Thank you.
Post Reply