Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · Oct 1, 2012
Hi Dynamic PDF Team I am getting InvalidCastException while reading PDF. Same PDF document is opening properly in acrobat reader. Below is code that I am using protected void Page_Load(object sender, EventArgs e) { var filePath = Server.MapPath("~/test.pdf"); //var document = new MergeDocument(filePath); var document = new PdfDocument(filePath); var mergeDocument = new MergeDocument(document); mergeDocument.DrawToWeb(); } Please help me to resolve it. I also have POC for it. But didn't find place here to attach it.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · Nov 12, 2012
Hello, This error has been fixed in the latest build of v7. Please email [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] with the url of this post and request a link to download the latest build files. Thanks, ceTe Software Support Team.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · Aug 13, 2014
I appear to be having a similar difficulty: "Unable to cast object of type 'zz93.je' to type 'zz93.cu'." Do I need to download a new version, too? I'm running cdTe.DynamicPDF20.dll. My code is similar to the previous poster's: byte[] PDF = (byte[])Session["PDF"]; // add license key ceTe.DynamicPDF.Document.AddLicense("-- elided --"); PdfDocument MyPdfDocument = new PdfDocument(PDF); MergeDocument MyDocument = new MergeDocument(MyPdfDocument); The exception is being thrown from the final line, above.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · Aug 15, 2014
Hello, The fix is available in the latest builds of v6 and v7. Latest build can be downloaded by logging into the customer area using the product (v6 or v7) serial number. Thanks, ceTe Software Support Team.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · Apr 14, 2015
I just received this error today (April 14, 2015): Unable to cast object of type 'zz93.ej' to type 'zz93.eo'. I am using DynamicPDF v7.0.3 for .NET, so I am not sure what to do. Because of this issue, I have a file which cannot be deleted because: "The process cannot access the file 'XYZ.pdf' because it is being used by another process." I can't get rid of the file without rebooting and the Server Admin is complaining.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · Apr 14, 2015
Hello, Can you please send over the following details to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] so that we can look into it further ? 1.Code sample or project using which we can recreate the error. 2.Input (original) PDFs using which we can recreate the error. 3.Full error message along with stack trace. 4.Exact version and build number of the DynamicPDF DLL file. You can get this information in DLL references properties (Version and Description fields) in Visual Studio. Thanks, ceTe Software Support Team.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · Aug 14, 2015
Hi, We have received the same error: "Unable to cast object of type 'zz93.ej' to type 'zz93.eo'. Was there a resolution to this problem?

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · Aug 17, 2015
Hello, For this error we have an open bug currently under investigation. Any additional information you can provide will help. Please email the following information to [^a|mailto:support@cete.com|opennewwindow|support@cete.com^]. 1.Code sample to recreate the error. 2.Input (original) PDFs using which we can recreate the error. 3.Full error message along with stack trace. 4.Exact version and build number of the DynamicPDF DLL file. You can get this information in DLL references properties (Version and Description fields) in Visual Studio. Thanks, ceTe Software Support Team.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · Sep 29, 2015
Hello, A fix for this issue is available in the latest build of v8. It can be downloaded by logging into the customer area using the v8 product serial number. Thanks, ceTe Software Support Team.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · May 5, 2020
we are getting error "Unable to cast object of type 'zz93.uq' to type 'zz93.vb'" We are using ceTe.dynamicpdf.40.dll Kindly advise if this is a known issue and resolution for it.

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Support · May 5, 2020
Hello, Please try using the latest build of version 4 in your application and see that resolves the issue. You can download the latest by logging into our CustomerArea using your DynamicPDF product serial number. Remove reference for the older DLL file and reference the latest in your application. If you continue having an issue, please send over the following information to [^a|mailto:support@dynamicpdf.com|opennewwindow|support@dynamicpdf.com^] so we can look into it further. 1. Code sample or a simple console application which uses static data to recreate the error. 2. PDF(s) you are using when getting the error. 3. Full error message along with stack trace. 4. Exact version and build number of the DynamicPDF DLL file used in the application. You can get this information by right clicking on the DLL file>>Properties>>Details tab>>Product version. Take a screenshot of Details tab and send it over to us. Please include a link for this forum in your email. Thanks, ceTe Software Support Team

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · May 14, 2024
System.InvalidCastException: 'No se puede convertir un objeto de tipo 'zz93.af9' al tipo 'zz93.abf'.' MergeOptions options = new MergeOptions(); options.XmpMetadata = false; var merge = new MergeDocument(filedir options);

Re: Unable to cast object of type 'zz93.gt' to type 'zz93.kt'.

Forum member · May 14, 2024
System.InvalidCastException: 'No se puede convertir un objeto de tipo 'zz93.af9' al tipo 'zz93.abf'.' MergeOptions options = new MergeOptions(); options.XmpMetadata = false; var merge = new MergeDocument(filedir options);