Sharepoint Site Asking for Credentials Again and Again
Preclude unwanted credentials prompts with SharePoint Document Libraries
Forbid unwanted credentials prompts with SharePoint Document Libraries
Many SharePoint users are plagued with being asked for credentials when opening Word or Excel files from a Document Library. In this case, the fix was a alter of authentication protocol.
We use SharePoint Foundation 2010
for our intranet, and we wanted to make more apply of Document Libraries. We added sample documents to endeavour it out. While PDF files opened fine in the
browser, nosotros found that opening Word or Excel files prompted us to enter a username and a password. Even when we entered valid credentials, the dialog kept
reappearing, and we had to press Escape to cancel the prompt. Information technology would
appear once more; if we cancelled it again, the document opened.
Searching for a solution presently
showed that we weren't solitary, although nobody'due south scenario seemed to quite match
ours. Some people, for example, were opening documents from a server on the
Net, or their SharePoint was configured over multiple servers. Ours was a
single, internal server.
I posted a question in the very
helpful Spiceworks customs, where the beginning proffer was to check SharePoint's Alternate
Admission Mappings. All seemed well, although adding one of my URLs to Internet
Explorer'south Intranet Zone Sites listing seemed to reduce the number of credentials
requests from two to one.
Many articles suggested adding a
registry key:
¡,à,ÀDI"À®®·§´*'¶º%Iëlz»âqëy°¥éí=ªÚë^®À.¶h¯«u'«½êËË
The problem this is trying to
solve is when Windows decides that your server is on the Internet, despite you
adding it to the IE Intranet Zone Sites list, and therefore asks for
credentials. The thought is that you add your SharePoint server name to this primal,
restart the WebClient service, and all is well. But that didn't work for us.
By design
Continuing my enquiry, I tried
using the Trusted Sites Zone instead of Intranet without any luck.
Prompted by this commodity, I tried this: "Go to Command Panel >> User Accounts >>
Manage Your Credentials and remove any credentials stored". No better.
Prompted by the aforementioned post, I and so
tried this: "Effort disabling 'Sharepoint OpenDocuments Class' add-on in IE". Y'all
guessed it — no difference.
I even found a postal service suggesting this behaviour was "by design and cannot be avoided". I couldn't accept that.
To make matters worse, I'd been
working on my own PC with Microsoft Function 2007. When I attempted to
demonstrate the issue on a colleague'due south PC with Part 2010, documents didn't open at all. Withal, after a bit of tinkering, I did get some files to open. I had
to click through the usual credentials prompts, plus an extra pop-upwardly
saying the file couldn't be opened.
Spider web.config
Eventually I plant a tip on Stack
Overflow that seemed to help. I added these lines into the web.config file found
on the SharePoint server at C:\inetpub\wwwroot\wss\VirtualDirectories\80:
i×oz¶
The credentials
prompts stopped when opening Word or Excel files on my PC. Progress! Unfortunately, on PCs running
Office 2010, the prompts were still there.
By at present I'd been chasing this down
for three months. I gritted my teeth and did more research, which led me
to suspect a connexion with Kerberos hallmark.
I brought my idea, and the story then far, back to the Spiceworks community.
Finally, a configuration change
in SharePoint Central Administration solved the problem. As I posted at the
fourth dimension:
"The solution (for me) was to
modify the Authentication Provider for the SharePoint web application to utilize
NTLM instead of Kerberos. This gave me two benefits:
- No more
unwanted credentials prompts when opening MS Office docs from the doc library
(Office 2007 or Office 2010). - The setting of
Integrated Windows Authentication (IWA) in IE at present makes no difference whether
enabled or disabled — the user gets logged in and can open the documents either
way."
So what was the root cause? We
have some other SharePoint installation, too configured with Kerberos, which
doesn't suffer the aforementioned problem. My guess, therefore, is that Kerberos was
never set up properly for some reason. (I seem to recall changing
my listen about a few things during the initial setup project, and I may have
done something out of sequence.) Every bit one of the contributors on the Spiceworks
community put it, "You demand to fix a agglomeration of stuff for it to work. Just
turning it on will not cause it to work."
Summary
Being asked for credentials when
opening Word or Excel files from a Document Library is a common frustration for
SharePoint users. In this example, it seems the Kerberos authentication protocol
was misconfigured, and changing to NTLM cured the problem.
- Collaboration
- Enterprise Software
- SMBs
danielsvirinarlecou.blogspot.com
Source: https://www.techrepublic.com/article/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/
0 Response to "Sharepoint Site Asking for Credentials Again and Again"
Post a Comment