Monday, July 19, 2010

SharePoint 2010 Blank Page display, 401 Unauthorized Access is denied due to invalid credentials.

SharePoint 2010 running on Windows 2008 R2 sever with Host name header. the problem is NO ERROR message displayed it display  just Blank White Page

Randy Williams on his blog posted that how to enable error message.  Go to IIS website and select web.config for the Web Application and Edit. I add below code in between the <Configuration> element:

<system.webServer> 
<httpErrors errorMode="Custom" existingResponse="Auto" > </httpErrors>
</system.webServer>



When you run your SharePoint site, System will display below error message.


image


How to overcome this issue.


The KB article from Microsoft explain http://support.microsoft.com/kb/896861 


  • Click Start, click Run, type regedit, and then click OK.
  • In Registry Editor, locate and then click the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0


  • Right-click MSV1_0, point to New, and then click Multi-String Value.
  • Type BackConnectionHostNames, and then press ENTER.
  • Right-click BackConnectionHostNames, and then click Modify.
  • In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
  • Quit Registry Editor, and then restart the IISAdmin service

    image


    After completion regedit, Restart IIS server, and then type your SharePoint site address, you will able to view your site.  

    image



  • 4 comments:

    Phil said...

    Useful, thanks!

    Riyas said...

    Thank you very much for the useful tip.. it saves me lot of time.

    CRJAngel said...

    If this works it will be more than useful it will be the miracle I have been looking for to get rid of the blank pages that are displayed which are useless if a user types their password incorrectly! I will let you know if it works.

    CRJAngel said...

    If this works it will be more than useful it will be the miracle I have been looking for to get rid of the blank pages that are displayed which are useless if a user types their password incorrectly! I will let you know if it works.