This is a migrated thread and some comments may be shown as answers.
Upgraded to latest Reports, now get PaperKindToPageMediaSizeName error trying to print
18 Answers 191 Views
This is a migrated thread and some comments may be shown as answers.
David Brenchley
Top achievements
Rank 1
David Brenchley asked on 23 Oct 2012, 08:25 PM
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)

18 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 24 Oct 2012, 07:32 AM
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!

0
Jim Foster
Top achievements
Rank 1
answered on 24 Oct 2012, 02:00 PM
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
0
Chavdar
Telerik team
answered on 24 Oct 2012, 03:16 PM
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!

0
Johnny
Top achievements
Rank 1
answered on 25 Oct 2012, 05:36 PM
Can you please tell us when exactly this fix will be released and where to find it?

Thanks,
Johnny
0
Peter
Telerik team
answered on 26 Oct 2012, 06:59 AM
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!

0
Maurizio
Top achievements
Rank 1
answered on 26 Oct 2012, 09:52 AM
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
0
Peter
Telerik team
answered on 26 Oct 2012, 10:12 AM
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!

0
Jim Foster
Top achievements
Rank 1
answered on 26 Oct 2012, 01:58 PM
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

0
Chavdar
Telerik team
answered on 26 Oct 2012, 02:31 PM
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!

0
Drew
Top achievements
Rank 1
answered on 30 Oct 2012, 04:50 PM
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.
0
Heinrich
Top achievements
Rank 1
answered on 26 Nov 2012, 07:58 AM
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?
0
Steve
Telerik team
answered on 26 Nov 2012, 09:23 AM
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!

0
REI Software
Top achievements
Rank 1
answered on 05 Dec 2012, 10:13 PM
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?
0
Peter
Telerik team
answered on 06 Dec 2012, 08:29 AM
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!

0
Dewayne
Top achievements
Rank 1
answered on 11 Dec 2012, 09:51 PM
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
0
REI Software
Top achievements
Rank 1
answered on 11 Dec 2012, 10:17 PM
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.
0
Dewayne
Top achievements
Rank 1
answered on 12 Dec 2012, 01:34 PM
Thanks for the reply Alan.  I downloaded the internal build again, recompiled and everything is working as expected.

Dewayne
0
Davin
Top achievements
Rank 1
answered on 24 Jan 2013, 05:13 PM
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...
Asked by
David Brenchley
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jim Foster
Top achievements
Rank 1
Chavdar
Telerik team
Johnny
Top achievements
Rank 1
Maurizio
Top achievements
Rank 1
Drew
Top achievements
Rank 1
Heinrich
Top achievements
Rank 1
Steve
Telerik team
REI Software
Top achievements
Rank 1
Dewayne
Top achievements
Rank 1
Davin
Top achievements
Rank 1
Share this question
or