Posted by a ceTe Software moderator
Hello,
In general, a common cause of the error “Exception has been thrown by the target of invocation” is if you use the dll that targets one .NET framework version with another. For example, using ceTe.DynamicPDF.20.dll that targets .NET 2.0 in a .NET 4.0 environment or vice versa may result in this error. Check the .NET framework version that your application and make sure you use the appropriate dlls for that .NET environment.
If this error happens with SQL server SSIS package, try registering the dll in GAC.
Thanks,
ceTe Software Support Team.