Saturday, April 12, 2014

Document ID Service Feature not found

Though we were using SharePoint 2010 enterprise version, I could not find the Document ID Service Feature in one of our Web Application’s site collection. There may be a script that can help to enable it, but I found codeplex’s SharePoint Manager 2010 helpful, so depicted the steps below:

1. Open SharePoint 2010 Manager tool, expand _SharePoint_Config node and expand Feature Definitions as depicted below:

image

2. Look for Document ID service feature (DocId), right lick on it and select install as depicted below:

image

After install, this should show the Document ID Service feature under the site collection features

Word Automation Services Error (WAS)

 

In SharePoint 2010, the Word Automation Services by default work in sandbox mode. if you see errors WAS error ULs, the first thing we need to check is if it is running in Sandbox mode, if so disable it using the below script. Usually IISReset after the change may work, but the restart of the SharePoint Hosted Services (Usually app server) server will help.

clear
Remove-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue
Add-PSSnapin Microsoft.SharePoint.Powershell

$sp = Get-SPServiceApplication | where {$_.TypeName.Equals("Word Automation Services")} 
$sp.DisableSandbox = $true
$sp.Update()

Access to XMLHttpRequest at 'from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular

Issue: The angular application was getting error from API that the origin has been blocked by CORS policy. Solution: Make sure that the...