.NET create scheduled task on server fails with E_ACCESSDENIED

后端 未结 4 868
北荒
北荒 2021-01-06 13:35

I have an ASP.NET website (in C#) that takes in user data and then attempts to create a windows scheduled task. Of course, this works great on the DEV machine, but fails to

4条回答
  •  无人及你
    2021-01-06 14:06

    Instead of worrying about the ASPNET user permissions, would your internal process allow you to create a machine specific account and supply the credentials there?

提交回复
热议问题