SoapHttpClientProtocol.ReadResponse - The request failed with HTTP status 401: Unauthorized

前端 未结 1 1569
一整个雨季
一整个雨季 2021-01-25 03:02

I have an ASP.NET (v2.0) web application that uses a reference to a SQL Server Reporting Services 208 R2 instance (using the ReportService2010.asmx service endpoint). The web a

1条回答
  •  梦毁少年i
    2021-01-25 03:58

    Enable authentication delegation

    Using the Active Directory Users and Computers Microsoft Management Console (Start > Run > "dsa.msc"), open the properties for the ServerA server entry. Under Delegation, select Trust this computer for delegation to any service (Kerberos only).

    Configure SPNs

    Use the following commands to register Service Principal Names (SPNs):

    setspn -S http/ServerB ReportingServicesServiceAccount
    setspn -S http/ServerB.domain.com ReportingServicesServiceAccount
    

    Where ReportingServicesServiceAccount is the service account used to run the Reporting Services service on ServerB.

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