locked
401 for newly deployed WCF service application RRS feed

  • Question

  • User-1959374973 posted

    I'm getting a 401 - Unauthorized: Access is denied due to invalid credentials error for a newly deployed services app.

    I deployed this app to another server some time ago and that version works just fine.

    Was there some initial setup that needed done to the server to allow services to work that I'm forgetting?

    Monday, July 16, 2018 7:12 PM

All replies

  • User1120430333 posted

    All ASP.NET Web programs run under the context of the ASP.NET Worker Process that services the App Pool that is hosting the ASP.NET program. If the App Pool credentials do not have the permissions to access a resource on the behalf of the ASP.NET Web program through the AWP, then it's access denied.

    https://stackify.com/w3wp-exe-iis-worker-process/

    Monday, July 16, 2018 11:30 PM