0

I have an aspnetcore application version 5.0 that calls executables in its process when I'm in development environment, but when this application is installed on IIS, the process doesn't work.

I use the version of IIS installed on the "Windows Server 2016" server is: 10

Tiny Wang
  • 10,423
  • 1
  • 11
  • 29
  • There are tons of differences you cannot neglect, https://blog.lextudio.com/web-application-differences-in-visual-studio-and-iis-60fec7e311b3 – Lex Li Jan 14 '22 at 05:39
  • 1
    User's in the client, did some operation then your server will start an application. Do you think this kind of operation should be allowed? By the way, remote server send some requests to the client, then your website will start an application installed in the user's computer. Should be allowed? So I think your issue should be an expected behavior when the permissions is limited. – Tiny Wang Jan 14 '22 at 07:43
  • @TinyWang, How to enable permission? – Bruno Quintella Jan 14 '22 at 14:46
  • set application pool permission to "localsystem" may help. [This document](https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/iis/www-authentication-authorization/understanding-identities#application-pool-identities) and follow the steps from [this answer](https://stackoverflow.com/a/59749448). – Tiny Wang Jan 17 '22 at 01:43
  • you may try it, I'm not sure if it worked, and I also don't recommend to start an application by this if it's not necessary. – Tiny Wang Jan 17 '22 at 01:54

0 Answers0