DynamicPDF.Generator exception

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for .NET (v3 and older)  /  DynamicPDF.Generator exception

DynamicPDF Merger for .NET (v3 and older) Forum

 May 13 2010 3:44 AM
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:
 May 13 2010 3:50 AM
we are also using windows server 2008.

Thanks in advance
 May 13 2010 8:59 AM
Posted by a ceTe Software moderator
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 Sale Team for the purchase details.

Thanks,
ceTe Software Support Team.
 Jul 09 2012 4:23 PM
my app uses dp 3.0.3.0 with .Net 4.0 with no issues, should i be concerned?

atw
 Jul 10 2012 4:40 AM
Posted by a ceTe Software moderator
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: support@cete.com

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:22 AM.