How can I run a console application (.EXE) from ASP.NET Application.
Both ASP.NET Application & Console application are on the same server and in the same directory but in different folders.
ASP.NET Application is hosted in IIS Server
How can I run the console application from my asp.net web application ?
Sorry for asking the question in an improper way, now I have updated it as per my exact need.
My first guess is that it might be a firewall issue since the remote machine is refusing the connection. If the code is running on the same server as the executable you want to run, why are you entering an IP address? Try changing the IP to 127.0.0.1
or LOCALHOST
and see if you get the same error.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.