Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi have downloaded SDK from Secugen website(they had given me the link). When I am adding reference to the SecuGen.FDxSDKPro.Windows.dll it is getting attached and I am able to access all the classes and function inside this dll, but while running the project I am getting the error as "
Could not load file or assembly 'SecuGen.FDxSDKPro.Windows' or one of its dependencies. An attempt was made to load a program with an incorrect format
"
. searched a lot but no luck.

Device details:Secugen HU20
O.S -windows 8.1,x64
IDE-Visual Studio 2010
Posted
Comments
CzimerA 2-Feb-16 4:31am    
Did you installed the driver too?
Rahul Kumar kcnit 2-Feb-16 4:52am    
yes installed, and tested the device with windows , and is working properly
_Asif_ 2-Feb-16 4:41am    
Try this: http://stackoverflow.com/questions/2023766/an-attempt-was-made-to-load-a-program-with-an-incorrect-format-even-when-the-p
koolprasad2003 2-Feb-16 5:50am    
Look out for 'SecuGen.FDxSDKPro.Windows' dll is exist ? where EXE is present ?

1 solution

Looks like you are trying to run 32-bit application on 64-bit machine. You will need to update IIS settings to enable 32-bit application to get it working.
 
Share this answer
 
Comments
Rahul Kumar kcnit 2-Feb-16 5:09am    
First of all I want to thank you for your quick response. The application is not working on development environment itself(Visual studio2010), I have tried to run the project in 64 bit machines as well as 32 bit machines, it is giving the same error.
I have not hosted the application on IIS, so no need to worry about hosting.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900