New answers tagged credentials
I just found out that IIS / Advanced Settings / Preload Enabled shouldn't be True for Central Admin - this just gave me this error even as everything else was correct. I had switched it on as I thought it could be handy on the development server to be able to access quickly after reboot to site.
This is probably a long shot but I'll post it anyway. I had a similar issue but it happened to everyone who logged on. When I would open SP it would show my name. Then, John Doe would open SP and it would show my name instead of his. When I would refresh my browser it would show John Doe's name. It was the craziest thing. It turns out that our load balancer ...
Most credential prompts occurred for me while using Kerberos. If you are using Kerberos make sure your SPNs are configured correctly, making sure you have the following SPNs registered by the app pool account, making sure there are no duplicates. Use this guide setspn -S HTTP/webapp.domain.com domain\appPoolAcct setspn -S HTTP/webapp domain\appPoolAcct
follow and ensure the below steps: make sure your account is not locked. have proper Alternate access mappings established with correct host name in a defined zone. make sure DNS record is available for the hostname. for trouble shooting purposes, you may try with a host file entry and see if it works. if it is an extranet or internet site, make sure DNS ...
Just want to add this here. Unfortunately the suggested answers of adding NetworkCredential did not work. I instead switched from using Microsoft.SharePoint.Client dll to the Microsoft.SharePoint library. Everything works now except with the caveat of course that my application now has to be run on a SharePoint server.
Top 50 recent answers are included