
The Request Failed with DssAuthenticationError: WebException Error
When access is denied to the DSSAuthWebService virtual directory with the message DssAuthenticationError: WebException: The request failed with HTTP status 401: Unauthorized, the message described in the following table is created.
|
Message ID
|
Description
|
|
6703
|
SMS WSUS Synchronization failed. Message: DssAuthenticationError: WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall). Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction.SyncWSUS.
|
WSUS Synchronization Manager writes log entries to wsyncmgr.log in <ConfigMgrInstallationFolder>\Logs similar to the following:
Found parent sync notification file TEQ.SYN.
Performing sync on parent request
STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=<ComputerName> SITE=<SiteCode> PID=5044 TID=7228 GMTDATE=<Date & Time> ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
STATMSG: ID=6704 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=<ComputerName> SITE=<SiteCode> PID=5044 TID=7228 GMTDATE=<Date & Time> ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
Synchronizing WSUS server <ComputerName>
Synchronizing WSUS server <FQDN> ...
sync: Starting WSUS synchronization
Sync failed: DssAuthenticationError: WebException: The request failed with HTTP status 401: Unauthorized.~~at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall). Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction.SyncWSUS
STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=<ComputerName> SITE=<SiteCode> PID=5044 TID=7228 GMTDATE=<Date & Time> ISTR0="Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction.SyncWSUS" ISTR1="DssAuthenticationError: WebException: The request failed with HTTP status 401: Unauthorized.~~at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
Sync failed. Will retry in 60 minutes
Sync time: 0d00h00m28s
Next scheduled sync is a retry sync at <Date & Time>
Waiting 60 minutes for requests…
Possible Solution
Check the IIS permissions on the DssAuthWebService virtual directory for the WSUS Web site in IIS. The virtual directory must be enabled for anonymous access. By default, the IUSR_<ComputerName> account is used for anonymous access. Check that this account has appropriate rights—for example, whether this account is a member of the Guests group where access has been denied. The following procedure provides the steps to configure the directory permissions for the virtual directory.
To configure anonymous access on the DssAuthWebService virtual directory
-
On the WSUS server, open Internet Information Services (IIS) Manager.
-
Expand Web Sites, and then expand the Web site for the WSUS server. It is recommended that the WSUS custom Web site be used, but the default Web site might have been chosen when installing WSUS.
-
Right-click DssAuthWebService, and then click Properties.
-
Click the Directory Security tab, and then click Edit in the Authentication and access control section.
-
Verify that Enable anonymous access is selected and that the IUSR_<ComputerName> account is specified.