Wednesday, July 1, 2015

Internet Explorer cannot display this feed - REST api not working in IE


If IE is responding correctly to REST api calls and you get a message like

Internet Explorer cannot display this feed

To fix the problem we need to disable feeds in IE. Go to the browser settings and select the Content tab, and click on the Feeds Settings button:


Then uncheck the "Turn on feed reading view" (it defaults to on, naturally).

This is for IE10. Other versions might look slightly different.




Friday, June 12, 2015

Cannot access Host Named Site Collection on a local server ( BackConnectionHostNames / DisableLoopbackCheck )

Method 1 (recommended): Create the Local Security Authority host names that can be referenced in an NTLM authentication request

To do this, follow these steps for all the nodes on the client computer:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Right-click MSV1_0, point to New, and then click Multi-String Value.
  4. In the Name column, type BackConnectionHostNames, and then press ENTER.
  5. Right-click BackConnectionHostNames, and then click Modify.
  6. In the Value data box, type the CNAME or the DNS alias, that is used for the local shares on the computer, and then click OK.

    Note Type each host name on a separate line.

    Note If the BackConnectionHostNames registry entry exists as a REG_DWORD type, you have to delete the BackConnectionHostNames registry entry.
  7. Exit Registry Editor, and then restart the computer.

Method 2: Disable the authentication loopback check

Re-enable the behavior that exists in Windows Server 2003 by setting the DisableLoopbackCheck registry entry in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry
subkey to 1. To set the DisableLoopbackCheck registry entry to 1, follow these steps on the client computer:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Exit Registry Editor.
  8. Restart the computer.
Using PowerShell:
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword

Unexpected response from server. The status code of response is 500. The status text of response is system.servicemodel.serviceactivationexception - When accessing TERM-Driven-page link on Term Store Management

If you encounter this weird error message while accessing TERM-Driven-page link on Term Store Management, don't get panic.. the solution is very simple :-)

'iisreset /noforce' 

Happy Sharepointing!

Tuesday, October 7, 2014

The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings


This error occurs when you use 'Copy List Items' Action to copy a list item from one document library to another in SharePoint 2013 Designer using SharePoint 2010 Workflow.

It can be resolved by making sure that the destination document library does not require document to be checked out for editing.

Following setting should be set to No under List Advanced settings
 Require documents to be checked out before they can be edited?

 

Wednesday, August 13, 2014

How to delete a Published Contnet Type ?

Subscriber site won't allow the content type to be deleted by default. When you click on Advanced Settings, change the Read Only option to No. After you do this you will be able to delete it. Happy Sharepointing!!

The form cannot be rendered. This may be due to a misconfiguration of the Microsoft SharePoint Server State Service

This error occurs when you try to start a custom workflow associated with a list or an item. To fix this error the State Service need to be configured in the farm. Here is the official solution from Microsoft - http://support.microsoft.com/kb/2697977

Wednesday, January 22, 2014

'DisableLoopbackCheck' to fix - Error: Access is denied. Verify that either the Default Content Access Account has access to this repository .........


Error:
Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled.

Root Cause :
This issue occurs when the Web site uses Integrated Authentication and has a name that is mapped to the local loopback address.

This is because your operating system(Windows 2008 in my case) include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.

Resolution:
Following instructions would disable the LoopBackRequest in registry. 

1. Run regedit.exe from the command prompt
2. In the registry editor navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa"
3. Right click on "Lsa" and create a new 32bit DWORD value called DisableLoopbackCheck
4. Right click  and Modify the value of "DisableLoopbackCheck" as "1"
6. Close the registry editor.

You may now restart the crawl and hopefully it will work.