SharePoint OnPremises – resolving issue – after migration to SharePoint 2013, three-time credentials asked while accessing the web application from the server and then blank page – DisableLoopbackCheck

Registry Editor - DisableLoopbackCheck
Registry Editor - DisableLoopbackCheck

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

Background : We are migrating our SharePoint 2010 application to SharePoint 2013. We were using content database attachment method. So as per the approach we have followed following steps

  • We have restored SharePoint 2010 databases to SharePoint 2013 database server
  • Created new web application with our custom header in SharePoint 2013 environment with the same header as in SharePoint 2010
  • Removed the respective content database of new web application so that we can mount our required restored SharePoint 2010 database
  • Successfully deployed our custom farm solution to new SharePoint 2013 web application
  • Executed Test-SPContentDatabase CMDLET against new SharePoint 2013 web application to verify any issues, verified the logs. Corrected some minor issues and seems to be ALL IS WELL 🙂
  • Executed Mount-SPContentDatabase CMDLET against new SharePoint 2013 web application, database is mounted successfully 🙂
  • As all required steps performed, next step is Visual Upgrade but before Visual Upgrade, need to make sure at least sites are opening in existing UI version

Issue / Error : After successful database mount when we try to access our new SharePoint 2013 web application, credentials are asked, entered the valid credentials but still credentials are prompted repetitively at least 3 times and after 3 times noting happens. Only blank page remain opens

There is no as such error or exception

More Details :

  • For our new SharePoint 2013 web application we are using custom header
  • Since we are in between migration, we are trying to access our SharePoint 2013 site from server itself
  • We have added host file entry for our web application on server

Solution / Approach :

  • There were two approaches / solutions to resolve this issue
    •  Specify the host names in the registry – BackConnectionHostNames (more secure and recommended approach for PRODUCTION servers)
    • Disable the loopback check – DisableLoopbackCheck (less secure approach and recommended for DEVELOPMENT / TEST environments)
  • In our case, for time being since we were still in testing mode, we went for second approach – we need to create a DWORD registry key called DisableLoopbackCheck and set it to 1

Following are the steps to add the respective registry key manually :

Launching the registry editor
Fig : Launching the registry editor
  • Launch “Run” menu or “Windows + R
  • Type the command “REGEDIT” as in above Fig
  • Above command will open the registry editor as
Registry Editor
Fig : Registry Editor
  • Expand the node “Computer -> HKEY_LOCAL_MACHINE -> CurrentControlSet -> Control” as in below fig
Registry Editor - expanding node => “Computer -> HKEY_LOCAL_MACHINE -> CurrentControlSet -> Control”
Fig : Registry Editor – expanding node => “Computer -> HKEY_LOCAL_MACHINE -> CurrentControlSet -> Control”
  • Locate the key “Lsa” as in below Fig
Registry Editor - expanding node => “Computer -> HKEY_LOCAL_MACHINE -> CurrentControlSet -> Control” - Locating key "Lsa"
Fig : Registry Editor – expanding node => “Computer -> HKEY_LOCAL_MACHINE -> CurrentControlSet -> Control” – Locating key “Lsa”
  • Add new DWORD entry
Registry Editor - creating new DWORD entry
Fig : Registry Editor – creating new DWORD entry
  • Add entry for “DisableLoopbackCheck” entry as in below fig
 Registry Editor - Adding new entry - DisableLoopbackCheck
Fig : Registry Editor – Adding new entry – DisableLoopbackCheck
  • Note : We need to restart the server to have this change in place
  • Once server is restarted issue is resolved

We have also option to add registry entry using PowerShell. I’ll share PowerShell CMDLET in next upcoming article 🙂

Thanks for reading 🙂 If its worth at least reading once, kindly please like and share 🙂 SHARING IS CARING

Enjoy the beautiful life 🙂 Have a FUN 🙂 HAVE A SAFE LIFE 🙂 TAKE CARE 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading