Click here to Skip to main content
15,887,935 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
here i communicate from our application which is in mvc to 2ddatamatrix machine through rs232 hiperterminal at local it work fine but at iis it is not working please help me out

What I have tried:

i try to communicate with client serial port from server
Posted
Updated 21-Apr-16 3:41am
Comments
ZurdoDev 21-Apr-16 7:59am    
How can we help?

1 solution

You cannot communicate with the client devices from the server.

Also, code running in a clients browser cannot talk to hardware connected to them without installing software on them outside of the browser.
 
Share this answer
 
Comments
deepak067 22-Apr-16 5:37am    
any other way to communicate serial port at web if it is possible
Thank's for reply
Dave Kreskowiak 22-Apr-16 14:53pm    
No. The server should NEVER contact a client machine for anything.

To do it from a web page on the client browser, you'd have to write a Windows application that gets installed on the client and talks to the device over the serial port. This software would also expose a web server that the javascript in your web page could use to talk to the application and communicate with the device. This web server would be an intermediary between the two.

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