简体   繁体   中英

Invoke windows service from asp.net web app on iis

I want to start a windows service from asp.net webform which are deployed on the server . It gives error cannot control service on this computer

You have to use the impersonation to control your windows service from asp.net application. To access the windows service from web application required some access rights on machine where you have installed the service.

Please check this link it may help

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM