Upgraded to latest Reports, now get PaperKindToPageMediaSizeName error trying to print

19 posts, 0 answers
  1. David Brenchley
    David  Brenchley avatar
    67 posts
    Member since:
    Jun 2010

    Posted 23 Oct 2012 Link to this post

    Upgraded to latest Reports, now get error trying to print.  Using wpf reportviewer, when I click on the print button I get the following error.

    Attempt by method 'Telerik.ReportViewer.Wpf.ReportViewerModel.Print()' to access method 'Telerik.ReportViewer.Wpf.ReportViewerModel.PaperKindToPageMediaSizeName(System.Drawing.Printing.PaperKind)' failed.

    StackTrace:
       at Telerik.ReportViewer.Wpf.ReportViewerModel.Print()
       at Telerik.ReportViewer.Wpf.ReportViewerModel.PrintReportCommandImpl.Execute(Object parameter)
       at Telerik.ReportViewer.Wpf.ReportViewerModel.Command.System.Windows.Input.ICommand.Execute(Object parameter)
       at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
       at MS.Internal.Commands.CommandHelpers.ExecuteCommandSource(ICommandSource commandSource)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Button.OnClick()
       at Telerik.Windows.Controls.RadButton.OnClick() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Buttons\RadButton.cs:line 389
       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.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.EventRoute.ReInvokeHandlers(Object source, RoutedEventArgs args)
       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.RouteItem.InvokeHandler(RoutedEventArgs routedEventArgs)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.EventRoute.InvokeHandlers(Object source, RoutedEventArgs args)
       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)

  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 24 Oct 2012 Link to this post

    Hi David,

    This is a known issue that slipped in the Q3 2012 release. The issue is logged in our bug tracking system and will be fixed for the next internal build. 

    Please excuse us for the temporary inconvenience.

    Greetings,
    Peter
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. DevCraft banner
  4. Jim Foster
    Jim Foster avatar
    6 posts
    Member since:
    Oct 2009

    Posted 24 Oct 2012 Link to this post

    Hello Peter,

    I too am seeing this error. As this is a pretty serious bug (most users will want to print a report they are viewing at some point) any word on when the fix will be released? A ballpark estimate at least?

    Thanks,
    Jim
  5. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 24 Oct 2012 Link to this post

    Hi,

    The issue has already been fixed and an internal build will be released till the end of the week.

    We are sorry for the inconvenience caused.

    Kind regards,
    Chavdar
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  6. Johnny
    Johnny avatar
    4 posts
    Member since:
    Oct 2012

    Posted 25 Oct 2012 Link to this post

    Can you please tell us when exactly this fix will be released and where to find it?

    Thanks,
    Johnny
  7. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 26 Oct 2012 Link to this post

    Hi Johnny,

    We have already released an internal build that includes the fix in question.

    All the best,
    Peter
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  8. Maurizio
    Maurizio avatar
    1 posts
    Member since:
    Jul 2012

    Posted 26 Oct 2012 Link to this post

    I have the same problem !
    where cai I get the build that fies the problem ?
    Will it be released through the Telerik Control Panel ?
    Or through a separate download ?

    best regards
    Maurizio
  9. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 26 Oct 2012 Link to this post

    Hello Maurizio,

    You can download the latest internal build from this page.

    All the best,
    Peter
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  10. Jim Foster
    Jim Foster avatar
    6 posts
    Member since:
    Oct 2009

    Posted 26 Oct 2012 Link to this post

    Thanks for the update, but I noticed that the internal build states:
    • intended for development only
    • not recommended for production purposes

    OK, I understand why (it's an internal build after all). Can you tell us when the next full release will be done that makes this fix production worthy?

    Thanks,
    Jim

  11. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 26 Oct 2012 Link to this post

    Hi,

    Usually a service pack is released around a month after the official release, but this also depends on how many issues have to be fixed.

    This internal build contains only a few not so complex fixes so you can safely use it instead of the official build. Still if you prefer you can wait until the service pack.

    Kind regards,
    Chavdar
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  12. Drew
    Drew avatar
    6 posts
    Member since:
    Nov 2011

    Posted 30 Oct 2012 Link to this post

    I am also having the issue, however, I don't feel comfortable using an internal build that comes with a disclaimer.  This is a pretty major issue that can cause applications to crash, as well was prevent users from printing directly from within the application.  I would hope that it does not take Telerik a month before they release a service pack to correct this issue.
  13. Heinrich
    Heinrich avatar
    18 posts
    Member since:
    Jun 2012

    Posted 26 Nov 2012 Link to this post

    I need to demo the telerik reporting solution and am using the trial version, which also has this issue. Anyway I can get hold of a trial version without this error?
  14. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 26 Nov 2012 Link to this post

    Hi guys,

    @Drew: it's been quite a while since we released the internal build and there were no bugs related to it, so you can safely use it, until a service pack is released.
    @Heinrich: go to Internal Builds section in your Telerik account where you would be able to download the latest internal build containing a fix for this problem.

    Kind regards,
    Steve
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  15. REI Software
    REI Software avatar
    8 posts
    Member since:
    Dec 2012

    Posted 05 Dec 2012 Link to this post

    I have the trial, and I'm getting this error. I cannot really evaluate the product when it crashes.. Is there a way to fix the trial?
  16. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 06 Dec 2012 Link to this post

    Hi Alan,

    Our suggestion is to download the latest internal build.

    All the best,
    Peter
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  17. Dewayne
    Dewayne avatar
    2 posts
    Member since:
    Sep 2010

    Posted 11 Dec 2012 Link to this post

    Peter,

    I am having this same issue after downloading the latest internal build 6.2.12.1123.  Any ideas as to what else may be required to get this resolved.

    Thanks,
    Dewayne
  18. REI Software
    REI Software avatar
    8 posts
    Member since:
    Dec 2012

    Posted 11 Dec 2012 Link to this post

    Dewayne, when I upgraded to 1123 it was fixed, I would double check you are referencing the new DLLs because they aren't replaced but installed side-by-side (I think). You may have to delete your references and re-add them. I believe the properties pane of VS can tell you the version of a reference.
  19. Dewayne
    Dewayne avatar
    2 posts
    Member since:
    Sep 2010

    Posted 12 Dec 2012 Link to this post

    Thanks for the reply Alan.  I downloaded the internal build again, recompiled and everything is working as expected.

    Dewayne
  20. Davin
    Davin avatar
    1 posts
    Member since:
    Oct 2011

    Posted 24 Jan 2013 Link to this post

    I've downloaded the HotFix zip file "RadControls_for_WPF_2012_3_1321_DEV_hotfix" and I don't see any Telerik.ReportViewer.Wpf files.  Which reference am I supposed to update?

    EDIT:  Downloading Reporting Q3 2012 SP1 package now.  I Imagine the files I'm looking for in are there...
Back to Top
DevCraft banner