Hi,
I have just noticed an exception when trying to export a report to RTF from the WebViewer control which now throws the following error:
Attempt by security transparent method
'Telerik.Reporting.Rtf.ImageUtils.GetMetafileBounds(System.Drawing.SizeF)' to
call native code through method
'Telerik.Reporting.Rtf.GdiNativeMethods.GetDeviceCaps(IntPtr, Int32)' failed.
Methods must be security critical or security safe-critical to call
native code.
The exception occurs on my local Dev Environment (Windows 8 with IIS 8) and our Staging server (Windows Server 2012 R2 with IIS 8.5) and is using .Net 4.5
Any ideas why this is occurring?
I have just noticed an exception when trying to export a report to RTF from the WebViewer control which now throws the following error:
Attempt by security transparent method
'Telerik.Reporting.Rtf.ImageUtils.GetMetafileBounds(System.Drawing.SizeF)' to
call native code through method
'Telerik.Reporting.Rtf.GdiNativeMethods.GetDeviceCaps(IntPtr, Int32)' failed.
Methods must be security critical or security safe-critical to call
native code.
The exception occurs on my local Dev Environment (Windows 8 with IIS 8) and our Staging server (Windows Server 2012 R2 with IIS 8.5) and is using .Net 4.5
Any ideas why this is occurring?