Skip to main content

Disable Loopback Check

There is a security check in Windows 2008 which was introduced since the 2003 server version.

This check ensures that a web application cannot be accessed using a fully qualified domain name on the host machine.  If you try to do so, the system returns an access denied error (401.1 error).  In actual fact, the login even though is correct will get challenged and produce a logon failure if you check the event log.

The way to fix it is to make changes to the registry by following the steps below:
  1. Login to the Windows File Server
  2. Open regedit

Allow other machines to access share using aliases

Change Disable Strict Name Checking in the registry

Browse to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
  1. Add a DWORD named DisableStrictNameChecking
  2. Set value to 1
Also

Proceed to

HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0 -Name “BackConnectionHostNames”

and add the FQDN of the web application to it.

 

Comments

Popular posts from this blog

The _spPageContextInfo

I f you are creating a SharePoint app using JavaScript and the Client side object model you need this friendly object. In the development of an app, you would require some basic properties- SharePoint as a framework provides these with the  _spPageContextInfo  object. _  spPageContextInfo  will provide these below properties:  webServerRelativeUrl  webAbsoluteUrl siteAbsoluteUrl serverRequestPath layoutsUrl webTitle webTemplate tenantAppVersion isAppWeb webLogoUrl webLanguage currentLanguage currentUICultureName currentCultureName env nid fid clientServerTimeDelta updateFormDigestPageLoaded siteClientTag crossDomainPhotosEnabled webUIVersion webPermMasks pagePersonalizationScope userId userLoginName systemUserKey alertsEnabled siteServerRelativeUrl allowSilverlightPrompt themedCssFolderUrl themedImageFileNames

Get Sum of Columns in a SharePoint list (Threshold edition)

It is a known fact that once the treshold limit is reached in SP, everything seems frozen.  At this point you have some options. Increase the limit using powershell or from the Central Admin OR Index the columns that you will like to operate on and create views based on those. However programmatically if you want to sum a list that has reached its threshold.  You can do so in batches as hown below:          protected   void  GetSummary( out   long  ideas,  out   long  votes,  out   long  comments,  out   long  transform)         {              long  ideasum = 0;              long columntoSum = 0;              long  commentS...