Weird Error - Width can't be infinity

Stimulsoft Reports.WPF discussion
Post Reply
ssaturn
Posts: 13
Joined: Mon Jun 07, 2010 5:05 am
Location: Malaysia

Weird Error - Width can't be infinity

Post by ssaturn »

Image

I always get this error when I try to generate the report :(. I designed the report in normal way, didn't touch any setting on the height and width.. even I redo my report, this error still turn up
JorisWils
Posts: 86
Joined: Tue Jun 30, 2009 7:49 am
Location: belgium

Weird Error - Width can't be infinity

Post by JorisWils »

Have you tried changing the width ( of the control that thows the error ) ?
Using Stimulsoft since 2007
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Weird Error - Width can't be infinity

Post by Alex K. »

Hello,

Can you please send us a simple test project, which reproduce the issue on support@stimulsoft.com?

Thank you.
ssaturn
Posts: 13
Joined: Mon Jun 07, 2010 5:05 am
Location: Malaysia

Weird Error - Width can't be infinity

Post by ssaturn »

Hi, Issue solved when I move to another PC to debug it.. I don't know why only that particular PC come out with this error.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Weird Error - Width can't be infinity

Post by Andrew »

Hello,

Ok! Let us know if you need any additional help.
Thank you.
saukun
Posts: 6
Joined: Wed Feb 23, 2011 10:22 am

Weird Error - Width can't be infinity

Post by saukun »

I saw this issue several times too, it happening when report is generated and then switched views to display several pages on screen, then tyring run report second time and getting this error. If affter error I click on single page on view - error is disapearing.

Saulius
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Weird Error - Width can't be infinity

Post by Alex K. »

Hello,

Can you please send us a simple test project, which reproduce the issue on support@stimulsoft.com?

Thank you.
rodolfo.prado
Posts: 1
Joined: Wed May 30, 2012 3:22 pm
Location: brazil

Weird Error - Width can't be infinity

Post by rodolfo.prado »

is this problem solved?
i have the same problem on just one machine?

in the zoom scroll the valeu instead of a number, displays "+infinito" because im using it in portuguese.

(i'm using the viewer for WPF)

the component was working now it always show this value and when a try to load a report it crashes and show
every time it show this errors




System.ArgumentException: '+Infinito' is not a valid value for property 'To'.
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)
at System.Windows.Media.Animation.DoubleAnimation.set_To(Nullable`1 value)
at Stimulsoft.Report.Viewer.StiVisual.AnimateTo(Double left, Double top, Double width, Double height, TimeSpan duration, TimeSpan delay)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.UpdatePagesPlacement(Boolean allowAnimation, Double baseOpacity)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.set_CurrentPrintPage(Int32 value)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.AssignNewReport()
at Stimulsoft.Report.Viewer.StiWpfViewerControl.OnReportChanged(Object sender, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Stimulsoft.Report.Viewer.StiWpfViewerControl.set_Report(StiReport value)
at Sinacor.UI.Clientes.Relatorio.View.SmartClient.ClienteEmissorOrdem.btnVisualizar_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Weird Error - Width can't be infinity

Post by Alex K. »

Hello,

Please check the last prerelease build.
If the issue is still present, please send us a sample project which reproduces the issue for analysis.

Thank you.
Post Reply