I have been running my app. with DynamicPdf just fine until yesterday when this exception occurs
The type initializer for "ceTe.DynamicPDF.Licensing.LicensingManager" threw an exception.
I am using version 1.6.1.0 of DynamicPDF.Generator. After an auto update of my pdf viewer, it works normally. However, the exception is now back.
Any recommendation on this issue would be greatly appreciated.
Exception on Licensing Manager
Re: Exception on Licensing Manager
Forum member · Oct 20, 2006Sory, forgot to mention that this exception occurs when I call the Draw subroutine.
DynamicPDF.Merger version 1.0.1
Re: Exception on Licensing Manager
Support · Oct 20, 2006Hello,
Can you please let us know the entire stack trace of the error you are getting so that we can take a look into it further?
Also do you get the error consistently or is it intermittent? What version of Acrobat Reader are you using?
Thanks,
ceTe Software Support Team
Re: Exception on Licensing Manager
Forum member · Oct 20, 2006Thanks for the quick reply
I am using Adobe Acrobat Professional Version 6.0.1
This is the exception message:
-----------------------------
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll
Additional information: The invoked member is not supported in a dynamic module.
And this is the stacktrace:
----------------------------
{System.TypeInitializationException}
[System.TypeInitializationException]: {System.TypeInitializationException}
HelpLink: Nothing
InnerException: {System.NotSupportedException}
Message: "The type initializer for "ceTe.DynamicPDF.Licensing.LicensingManager" threw an exception."
Source: "DynamicPDF.Generator"
StackTrace: " at ceTe.DynamicPDF.Licensing.LicensingManager.IsProductLicensed(Assembly assembly, Int32 productID, Single requiredVersion)
at ceTe.DynamicPDF.Merger.Licensing.A.A(PageWriter )
at ceTe.DynamicPDF.Merger.ImportedPage.Draw(PageWriter writer)
at ceTe.DynamicPDF.PageList.A(DocumentWriter , Int32 )
at ceTe.DynamicPDF.IO.DocumentWriter.A()
at ceTe.DynamicPDF.Document.Draw(String filePath)
at ActNotesMod.frmActNotes.CreateProgressNote(String psTemplatePaths, String psPagePath, CProgressNote pobjNote, Int32 pnPageIndex, Boolean pbBatch) in C:\Dev\ActNotesMod\frmActNotes.vb:line 5163"
TargetSite: {System.Reflection.RuntimeMethodInfo}
Re: Exception on Licensing Manager
Support · Oct 20, 2006Hello,
Can you please download the latest version from the web site because the version you are using is not the latest? Rebuild your application and let us know if you still continue getting this error.
The latest version can be downloaded from the Customer Area
using your serial number.
Thanks,
ceTe Software Support Team