Could not load Interop.WIA error with asp.net C# 4.0 -


I am creating a web page using ASP.Net C # 4.0, which is a scanner deployed from a server Will be used to detect and save Scanned images on the server I created this page using WIA (Windows Image Acquisition). When I run into asp.net development server, this page is working and scanning images, but when I put it in IIS 6.0, it says:

< P> File or assembly can not be loaded. Interop .WIA 'or its dependency was attempted to load a program with incorrect format.

What is the cause of being a WIA COM component? Or what is missing me when I was posted in IIS? Please help!

"The program was attempted to load the program with the wrong format." Usually this means that you are trying to load 32-bit code in 64-bit process or vice versa.

Try setting your IIS app pool to 32-bit (some information)

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -