Page 1 of 1

Weird Error - Width can't be infinity

Posted: Sat Jan 08, 2011 11:30 pm
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

Weird Error - Width can't be infinity

Posted: Mon Jan 10, 2011 3:26 am
by JorisWils
Have you tried changing the width ( of the control that thows the error ) ?

Weird Error - Width can't be infinity

Posted: Mon Jan 10, 2011 3:43 am
by Alex K.
Hello,

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

Thank you.

Weird Error - Width can't be infinity

Posted: Mon Jan 10, 2011 6:29 am
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.

Weird Error - Width can't be infinity

Posted: Mon Jan 10, 2011 6:35 am
by Andrew
Hello,

Ok! Let us know if you need any additional help.
Thank you.

Weird Error - Width can't be infinity

Posted: Thu Mar 10, 2011 2:22 am
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

Weird Error - Width can't be infinity

Posted: Thu Mar 10, 2011 7:27 am
by Alex K.
Hello,

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

Thank you.

Weird Error - Width can't be infinity

Posted: Wed May 30, 2012 4:50 pm
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)

Weird Error - Width can't be infinity

Posted: Fri Jun 01, 2012 3:06 am
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.