BadImageFormatException while validating fingerprint image on Azure Cloud Platform


We are able to store finger print image file (.bmp) into MsSQL database on Azure Platform but not able to validate the stored BLOB file. While this is working fine in local windows 64bit system but unfortunately it is failing after publishing the same code into Azure cloud environment 64bit. We are using Digital Persona 4500 Fingerprint Device for finger print search/scanning.

Couple of scenarios we tried on Azure Platform ( both 32/64 bit) Code configuration (32 bit / 64 bit / Any CPU etc.)

Here is the error message:

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)at DPUruNet.NativeMethods.dpfpdd_trace_start(IntPtr description, IntPtr& context) at DPUruNet.Tracer..ctor(String name) at DPUruNet.FeatureExtraction.CreateFmdFromRaw(Byte[] rawImageData, Int32 fingerPosition, Int32 CbeffId, Int32 width, Int32 height, Int32 resolution, Fmd formatOut) at IDC.Common.ScannerUtility.ExtractFmdfromBmp(Bitmap img, Int32 dpi)

Please advice how to get rid of this situation.


asked on Stack Overflow Jan 23, 2020 by DevEntrust • edited Jan 24, 2020 by Jessica

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0