Alexander Anikin's blog

My personal blog

Archive for the ‘Uncategorized’ Category

Preventing backup files on iCloud in your iPhone applications in Monotouch

leave a comment »

This is pretty simple. You just need to: 

NSFileManager.SetSkipBackupAttribute(filePath, true);

Written by Alex Anikin

April 1, 2013 at 8:30 pm

Posted in Uncategorized

Web Applications doesn’t sync on Sharepoint Front-End Servers in Farm

leave a comment »

 

We creates farm with 2 front-end servers, but web-application not sync between it.

System time was not equal – servers was in different time-zones!

We fix it and web-applications creates successfully on both servers.

Written by Alex Anikin

July 5, 2010 at 6:54 am

Posted in Uncategorized

Sharepoint Web Application with Host Header Authentication Error

leave a comment »

In test cases, we need to create another Web Application at 80 port with Host Header (ex: http://site1.localhost ). It’s ok – done!
We create new site collection there – done!
 
Let’s try:
Browser get authentication window again and again  and we could’t get in to our site collection!
Investigation…..
 
 

Method 1: Specify host names (Preferred method if NTLM authentication is desired)

To specify the host names that are mapped to the loopback address and can connect to Web sites on your computer, follow these steps:

  1. Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
  2. 281308 (http://support.microsoft.com/kb/281308/ ) Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name

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

  6. Right-click MSV1_0, point to New, and then click Multi-String Value.
  7. Type BackConnectionHostNames, and then press ENTER.
  8. Right-click BackConnectionHostNames, and then click Modify.
  9. 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.
  10. Quit Registry Editor, and then restart the IISAdmin service.

Method 2: Disable the loopback check (less-recommended method)

The second method is to disable the loopback check by setting the DisableLoopbackCheck registry key.

To set the DisableLoopbackCheck registry key, follow these steps:

  1. Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
  2. 281308 (http://support.microsoft.com/kb/281308/ ) Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name

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

  6. Right-click Lsa, point to New, and then click DWORD Value.
  7. Type DisableLoopbackCheck, and then press ENTER.
  8. Right-click DisableLoopbackCheck, and then click Modify.
  9. In the Value data box, type 1, and then click OK.
  10. Quit Registry Editor, and then restart your computer.
 

Written by Alex Anikin

June 10, 2010 at 3:21 pm

Posted in Uncategorized

SharePoint User Group in N.Novgorod – 23.05.2010

leave a comment »

Written by Alex Anikin

April 23, 2010 at 12:46 pm

Posted in Uncategorized