System.diagnostics.process process is not working on IIS after hosting?

前端 未结 1 1369
情书的邮戳
情书的邮戳 2021-01-29 08:41

I am trying to install .exe from web application. when i run the application locally(from asp development server) it is installing properly. But when i hosted on IIS it is not w

相关标签:
1条回答
  • 2021-01-29 09:23

    when I run the application locally (from asp development server) it is installing properly

    Of course, because then the server and the client are the same machine. You're starting a process on the server, which also happens to be the client, but in production, this isn't the case.

    If you want users to install an application on their machine, then create a page on your site that shows them how to do so, including a link where they can download the installer.

    You are not able to automatically install software from a website on a client's machine, let alone silently.

    Sit down a minute and think about the implications if what you were asking for were actually possible. Barring browser (plugin) exploits, the days when that was possible are long gone.

    If you are running this site in a controlled environment, then perhaps you can get your system administrators to deploy this installer for certain user groups on your domain.

    0 讨论(0)
提交回复
热议问题