A web site code can't connect to a soap service on the same server

前端 未结 2 1942
既然无缘
既然无缘 2021-01-16 11:27

My ASP.NET web site calls a .net service from a code in App_Code to retrieve some information.

The web service is hosted at http://mydomain/ws/DirectoryService

2条回答
  •  长情又很酷
    2021-01-16 12:06

    Problem solved. It turned out that I needed to Edit an anonymous authentication settings, so that when used (in my case it is always), the code would go under application pool's identity, and not IUSR: enter image description here

提交回复
热议问题