I am creating a web page using ASP.Net C# 4.0, that will be used to detect scanner deployed with a server and save scanned images to the server. I have created this page using WIA (Windows Image Acquisition). This page is working and scanning images when I run it within asp.net development server, but when I deploy it in IIS 6.0 it says:
Could not load file or assembly 'Interop.WIA' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Is it because of WIA being a COM component ? Or is there anything which I am missing when deployed in IIS ? Please help !!!