Debugging website on local IIS without administrative privileges

后端 未结 2 1295
一个人的身影
一个人的身影 2021-01-01 17:30

I have a administrative account on my machine, but due to security reasons, I don\'t want to run visual studio as administrator. I have ASP.NET website, windows 10, IIS8. Is

相关标签:
2条回答
  • 2021-01-01 18:12

    as per https://msdn.microsoft.com/en-us/library/kd3se23d.aspx

    if you change the ASP.NET worker process to run under your own user account, you do not have to be an Administrator on the server that is running IIS.

    0 讨论(0)
  • 2021-01-01 18:16

    I can't do it (as illustrated in my question).

    Boklucius's citation is accurate, but I believe that article and the current update are misleading. I found that when running the app pool under my own credentials, I'm still unable to attach unless running Visual Studio as an admin. Lex Li observed that this was due to session isolation, and right now the evidence from my experimentation suggests he's right.

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