none
Deploying my web API changes NETWORK SERVICE permissions RRS feed

  • Question

  • Hello,

    Every time I deploy my web API from Visual Studio 2015 to my Windows Server 2016 machine, and changes the permissions of the NETWORK SERVICE from read/write to read only. I have to manually go onto the server and change the permissions back to read/write. I need the NETWORK SERVICE to have write permissions so that it can log to our log file.

    I remember solving this issue a while back. There was something that had to be added to the publish profile but I can't remember what it was or where on google I found it.

    Can someone help refresh my memory?
    • Moved by 宝宝徐 Tuesday, June 20, 2017 5:35 AM
    Wednesday, June 14, 2017 3:08 PM

All replies

  • Hi gib898,

    Welcome to MSDN forum.

    This forum is discussing Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor. your problem is more related to Web API, I recommend you ask the question in the forum: https://forums.asp.net/1246.aspx/1?Web+API, thank you for understanding.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, June 15, 2017 5:59 AM