Export Exception
Posted: Mon Sep 07, 2015 3:43 pm
Hello,
- Product name and its version: Stimulsoft Reports.Wpf 20105.1.08
When we try to Export the report to pdf (using the default DialogBox), the field "Allow editable" is Empty.
If we don't change the value (let it to empty) and we click "OK" an Exception (Null Exception is raised).
I try to force the value of the field "Allow editable" using the following line:
StiOptions.Export.Pdf.AllowEditablePdf = true;
this command do not work, Visual send a message that "AllowEditablePdf" is obselete.
How can I solve this probleme.
----------------------------
[General Info]
Application: ***********
Framework: v4.0.30319
Version: Version: 2015.1.8 from 12 June 2015
MachineName: ***********
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
UserName: *********
----------------------------
[Exception Info]
Message: Une exception a été levée par la cible d'un appel.
Source: mscorlib
StackTrace:
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.get_Item(String key)
à Stimulsoft.Report.Export.StiPdfExportService.form_Complete(IStiFormRunner form, StiShowDialogCompleteEvetArgs e)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.InvokeComplete(Boolean dialogResult)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.ShowDialog()
à Stimulsoft.Report.Export.StiPdfExportService.Export(StiReport report, String fileName, Boolean sendEMail, StiGuiMode guiMode)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.OnProcessExport(Object sender)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.InvokeProcessExport(StiExportService service)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.itemExport_Click(Object sender, RoutedEventArgs e)
- Product name and its version: Stimulsoft Reports.Wpf 20105.1.08
When we try to Export the report to pdf (using the default DialogBox), the field "Allow editable" is Empty.
If we don't change the value (let it to empty) and we click "OK" an Exception (Null Exception is raised).
I try to force the value of the field "Allow editable" using the following line:
StiOptions.Export.Pdf.AllowEditablePdf = true;
this command do not work, Visual send a message that "AllowEditablePdf" is obselete.
How can I solve this probleme.
----------------------------
[General Info]
Application: ***********
Framework: v4.0.30319
Version: Version: 2015.1.8 from 12 June 2015
MachineName: ***********
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
UserName: *********
----------------------------
[Exception Info]
Message: Une exception a été levée par la cible d'un appel.
Source: mscorlib
StackTrace:
à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
à System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.get_Item(String key)
à Stimulsoft.Report.Export.StiPdfExportService.form_Complete(IStiFormRunner form, StiShowDialogCompleteEvetArgs e)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.InvokeComplete(Boolean dialogResult)
à Stimulsoft.Report.Wpf.StiWpfFormRunner.ShowDialog()
à Stimulsoft.Report.Export.StiPdfExportService.Export(StiReport report, String fileName, Boolean sendEMail, StiGuiMode guiMode)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.OnProcessExport(Object sender)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.InvokeProcessExport(StiExportService service)
à Stimulsoft.Report.Viewer.StiWpfViewerControl.itemExport_Click(Object sender, RoutedEventArgs e)