Forums

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for .NET (v7.x)  /  Invoked Member Not supported in a Dynamic Assembly Error

Forum Thread - Invoked Member Not supported in a Dynamic Assembly Error

Hi Dynamic PDF Support,

We are running into an intermittent issue initializing the class where the dynamic PDF object is set up.
This may be an issue setting the license in our helper class.

Error: The invoked member is not supported in a dynamic assembly.
   at System.Reflection.Emit.InternalAssemblyBuilder.GetManifestResourceNames()
  at x28925c9b27b37a46.x220f433da4115056.x0004f58017c756bc(Assembly xd3764619ec304ff0, String xf3a1146bd8778bac)
   at x28925c9b27b37a46.x220f433da4115056.xde6236852622c268(String x1c1fc72fe1a3b4ea, Assembly x39e0a96279c40baa)
   at x28925c9b27b37a46.x220f433da4115056.x7d0214bf69711dd9(String x1c1fc72fe1a3b4ea, Assembly x5807f920b6fc67c4)\
   at DynamicPDFHelper.Init

Sample code:
Private Sub Init
   PDF = New ceTe.DynamicPDF.Merger.MergeDocument
   PDF.AddLicense(myLicense)
End Sub

Component:
ceTe.DynamicPDF.40.dll v7.0.1.40

-Thanks
Posted by a ceTe Software moderator
Hello,

Please try using the latest v7.0.3.27097 build of DynamicPDF for .NET product DLL file in your application and see if it works for you. You can download latest v7 product installer file by logging into our  CustomerArea using your v7 product serial number. Also make sure you are referencing a correct DLL file as per the target .NET framework set to your application. Once you reference the latest  DLL, compile and build the application. You can refer to the documentation on referencing assembly here.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 12:16 AM.