Posted 1 November 2017, 3:50 am EST
Hi,
A customer is receiving the following internal error when a FlexReport is rendering:
System.InvalidCastException: Specified cast is not valid.
at C1.Util.DX.ComObject.QueryInterface(Guid guid, IntPtr& outPtr)
at C1.Util.DX.ComObject.QueryInterfaceT
at C1.Win.C1Document.Util.C1DXTextLayout…ctor(IC1DXTextLayoutOwner owner)
at C1.Win.C1Document.Util.C1DXTextMeasurementContext…ctor()
at C1.Win.FlexReport.C1FlexReport.InitializeRendering(IExecutionContext context)
at C1.Win.FlexReport.C1FlexReport.InternalRender(IExecutionContext context)
at C1.Win.FlexReport.C1FlexReport.InternalGenerate(IExecutionContext context)
at C1.Win.C1Document.C1DocumentSource.Generate()
at C1.Win.FlexReport.C1FlexReport.Render()
This is on a Windows 7 desktop.
I can see another user with the same problem with IIS under the topic ‘PDF Export in Azure WebApps’ in Google’s cash of your RSS feed. However I cannot find the original topic or a solution to it.
Please advise…