Barcode Professional for Reporting Services and the System.BadImageFormatException

You deploy the Neodynamic.ReportingServices.Barcode.dll to the Report Server’s Bin folder and at report rendering stage (or at runtime) you get the following error message or something similar to this:

Exception caught instantiating NeodynamicBarcodeControl report server extension: System.BadImageFormatException: Could not load file or assembly ‘Neodynamic.ReportingServices.Barcode’ or one of its dependencies. An attempt was made to load a program with an incorrect format.

This is likely to happen if your SQL Server Reporting Services is a 64bit edition and you deployed the Neodynamic.ReportingServices.Barcode.dll which was built/compiled for x86 platform (32bit) instead of deploying the barcode dll which was built for x64. So, to solve the issue, you need to copy (deploy) the Neodynamic.ReportingServices.Barcode.dll for x64 which you can find in the installation folder of our product. If this does not solve the issue, then contact our support team.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.