3 Replies - 1960 Views - Last Post: 13 September 2016 - 02:19 PM

#1 dreamincode_sr  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-September 15

Run server-side .exe from ASP.net page

Posted 13 September 2016 - 01:50 PM

Hi all,

I've been struggling with this issue for a week now:

Essentially, I want to run an .exe file on the server when user clicks "Submit".

When I try it locally in debug mode, things work as expected. Howevever, when I publish the web application, the .EXE process opens then closes immediately.

I'm new to .NET and programming in general. I would really appreciate some help debugging this.I am not sure how to debug the application once it is published.




Controller:
https://gist.github....8f16db90db13187

EXE:
https://gist.github....2d7197ba4d5b3cb

win_env_setup.bat:
https://gist.github....62d80997e3e9792

Is This A Good Question/Topic? 0
  • +

Replies To: Run server-side .exe from ASP.net page

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13491
  • View blog
  • Posts: 53,888
  • Joined: 12-June 08

Re: Run server-side .exe from ASP.net page

Posted 13 September 2016 - 02:00 PM

Most web servers do not allow random requests to start running an unknown .EXE on the machine.. You know, basic security and all.
Was This Post Helpful? 0
  • +
  • -

#3 dreamincode_sr  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 04-September 15

Re: Run server-side .exe from ASP.net page

Posted 13 September 2016 - 02:13 PM

View Postmodi123_1, on 13 September 2016 - 02:00 PM, said:

Most web servers do not allow random requests to start running an unknown .EXE on the machine.. You know, basic security and all.


I get it. But can I provide you with information so you can actually help me/users launch the EXE? Or did you just want to let me know that lol
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 13491
  • View blog
  • Posts: 53,888
  • Joined: 12-June 08

Re: Run server-side .exe from ASP.net page

Posted 13 September 2016 - 02:19 PM

It was a general statement about the information you provided.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1