Click here to Skip to main content
15,939,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to create a web application in, that will be hosted on server and access client side scanner. The end users scan the images and scanned image is then uploaded to server. My web application is running successfully in single system. But when i hosted it in IIS and tried to access it from a client machine with a scanner attached to it, the application is not working.It is not able to access client side scanner.I am using WIA concept for scanning.

Can any one suggest a way to access client side scanner from server?

1 solution

You can't access client hardware from the server, you'll need to write a component that runs on the client to do this, like java, ActiveX etc.
Share this answer
Reshma Aneesh 22-May-15 6:04am    
Then how can i achieve this? Whether i have to use plugins in client?Its urgent.Please help me.Any way to achieve this?
F-ES Sitecore 22-May-15 6:22am    
You're going to have to completely re-architect and re-write your solution and develop a rich client component or find one that already does what you want to do. I'm sure there is a component out there somewhere that someone has written to access a scanner.

It is always advisable to ensure your technology decisions are right before you go ahead with a project so you don't end up where you are now. One of the most common phrases on this forum is "it worked locally" as people are failing to understand that when you are developing your machine is both server *and* client and your code worked not because the server was accessing the client, but because the sever was accessing itself because it *is* the client too.

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