Hi HungMelvinMC-3815,
Could you please more info regarding this issue? Can i know the goal and what about the background info? Which version SharePoint you're using? It would be appreciated if we can reproduce the issue.
Thanks
Baker Kong
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Our problem – Website returns HTTP status 401. We checked user account it is valid.
The related details are listed as follows:
With “Domain” is work in previous UAT environment. And now we can’t (we need to remove the “Domain” in “NetworkCreadential“ method).
With “Domain” is work in PDN environment.
“DefaultNetworkCredentials” or “DefaultCredentials” or "System.Net.CredentialCache.DefaultCredentials" is doesn’t work in UAT environment (Throw Error: The request failed with HTTP status 401: Unauthorized).
I have tried restarting both IIS and the application pool but this does not help.
IIS Setting:
Anonymous Authentication is Enabled
Windows Authentication is Enabled
Authorization Rules is set up to Allow All Users
In the IIS log I can see the following:
2020-07-08 08:05:09 POST /_vti_bin/Lists.asmx - 80 0#.w|asia2\xxxx Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.36543) 200 0 0 62
2020-07-08 08:06:19 GET /sites/intranet/TC/_vti_bin/Lists.asmx - 80 - Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/5.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+InfoPath.3;+.NET4.0C;+.NET4.0E) 401 1 2148074254 0
Hi HungMelvinMC-3815,
Could you please more info regarding this issue? Can i know the goal and what about the background info? Which version SharePoint you're using? It would be appreciated if we can reproduce the issue.
Thanks
Baker Kong
SharePoint is not supported here in Q&A at this moment.
You can post your question to the following areas.
https://social.technet.microsoft.com/forums/azure/en-US/home?forum=onlineservicessharepoint
https://social.technet.microsoft.com/Forums/sharepoint/en-US/home?category=sharepoint