Support Center

Exception initialising new DTI.ImageMan.Codecs.PdfDecoder

Steve Fowler Sep 14, 2015 12:16PM EDT

We are using the `PdfDecoder` from within `ImageMan` to handle our PDF file's, however we are getting exceptions (sometimes) being thrown when generating a new instance of the `PdfDecoder` class.

try {
DTI.ImageMan.Codecs.PdfDecoder decoder = new DTI.ImageMan.Codecs.PdfDecoder();
} catch (Exception ex) {
' Error thrown here:
' The type initializer for 'DTI.ImageMan.Codecs.PDFDecoderInit' threw an exception.
' at DTI.ImageMan.Codecs.PdfDecoder..ctor()
}

The code above will run fine one minute and then fail the next. It also seems to fail on some client machines more often than others, but with no obvious pattern.

Can you help?

1 Data Techniques Response

Up 0 Rated Down
DTI Support  Data Techniques Employee Sep 15, 2015 10:01AM EDT

Hi,

What version of ImageMan.Net are you using ?

What is the exception you are getting ?

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us