Saturday, April 12, 2014

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()

No comments:

Post a Comment

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...