Hi,
at customers machine if he closes the designer (attached).
Version: Oct 13, 2014.
regards,
Christoph
Proc.: <.ctor>b__1
Type: System.InvalidCastException
Message: Unable to cast object of type 'Stimulsoft.Report.WpfDesign.StiWpfDesigner' to type 'Stimulsoft.Report.WpfDesign.StiWpfDesignerControl'.
Context:
Stack Trace
at Stimulsoft.Report.WpfDesign.StiInteractionProperty.<>c__DisplayClass2.<.ctor>b__1(Object param0, RoutedEventArgs param1)
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.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.RaiseTrustedEvent(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, WindowMessage 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, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
InvalidCastException at closing Designer
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
InvalidCastException at closing Designer
Foxpro and behind
Re: InvalidCastException at closing Designer
Hello,
Most probably, on your pc present several different versions of our products. Please check the GAC, references.
If the issue still present please describe the issue in more details.
Thank you.
Most probably, on your pc present several different versions of our products. Please check the GAC, references.
If the issue still present please describe the issue in more details.
Thank you.
-
- Posts: 68
- Joined: Tue Nov 09, 2010 2:05 pm
- Location: Dresden
Re: InvalidCastException at closing Designer
I just copy the sti-DLLs in a folder of our app. I don't put dlls in the GAC. Or do you create a GAC "on the fly"? Or .net does so?
On my pc, all ist fine, the problem only appears on costomer's pc somtimes. (Win2008R2 Terminal Server)
-Christoph
On my pc, all ist fine, the problem only appears on costomer's pc somtimes. (Win2008R2 Terminal Server)
-Christoph
Foxpro and behind
Re: InvalidCastException at closing Designer
Hello, Christoph.
The assemblies could be cached by .Net Framework.
Please, search "Stimulsoft" on your system drive.
Maybe not all assemblies are copied. to the server.
Try to remove all assemblies, check this and then install the new assemblies.
Thank you.
The assemblies could be cached by .Net Framework.
Please, search "Stimulsoft" on your system drive.
Maybe not all assemblies are copied. to the server.
Try to remove all assemblies, check this and then install the new assemblies.
Thank you.