DynamicPDF.Generator exception

DynamicPDF.Generator exception

Forum member · May 13, 2010
In one of the apps we are using Dynamic PDF Generator for .Net (Product Version 3.0.3.0) with .Net4.0/VS2010. Application throwing following exception. Same code works fine with .Net3.5/VS2008. Both versions of apps are running on the same box. We are in processing of upgrading apps from .Net3.5 to .Net4.0 Exception Details: System.TypeInitializationException was unhandled by user code Message=The type initializer for 'ceTe.DynamicPDF.Licensing.Manager' threw an exception. Source=DynamicPDF.Generator.Developer TypeName=ceTe.DynamicPDF.Licensing.Manager StackTrace: at ceTe.DynamicPDF.Licensing.Manager.IsProductLicensed(Int32 requiredLicense) at ceTe.DynamicPDF.IO.PageWriter.e() at ceTe.DynamicPDF.Page.b(DocumentWriter A_0, Int32 A_1, Int32 A_2, Int32 A_3) at ceTe.DynamicPDF.Page.c(DocumentWriter A_0, Int32 A_1, Int32 A_2, Int32 A_3) at ceTe.DynamicPDF.PageList.a(DocumentWriter A_0, Int32 A_1) at ceTe.DynamicPDF.IO.DocumentWriter.h() at ceTe.DynamicPDF.Document.Draw(String filePath) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) InnerException: System.NotSupportedException Message=The invoked member is not supported in a dynamic assembly. Source=mscorlib StackTrace: at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceNames() at ceTe.DynamicPDF.Licensing.Manager.a() at ceTe.DynamicPDF.Licensing.Manager..cctor() InnerException:

Re: DynamicPDF.Generator exception

Forum member · May 13, 2010
we are also using windows server 2008. Thanks in advance

Re: DynamicPDF.Generator exception

Support · May 13, 2010
Hello, The V3 of our product cannot be used with the .NET framework v4.0. You will have to use our latest product v6 which can be used with .NET v4. So you will have to buy the v6 of our product if you want to work with the .NET framework v4. Please feel free to contact our [^a|mailto:sales@cete.com|Sale Team^] for the purchase details. Thanks, ceTe Software Support Team.

Re: DynamicPDF.Generator exception

Forum member · Jul 9, 2012
my app uses dp 3.0.3.0 with .Net 4.0 with no issues, should i be concerned? atw

Re: DynamicPDF.Generator exception

Support · Jul 10, 2012
Hello ATW, You can continue using version 3.x version of our DynamicPDF Merger for .NET product if it is working with version 4.0 .NET framework. If you are facing any issues while working with our DynamicPDF products then you can contact our support team at: [^a|mailto:support@cete.com|opennewwindow|support@cete.com^] Thanks, ceTe Software Support Team.