Getting error while running insert JS Script Activity


#1

I am getting below error while running the insert JS script activity.

insertJS has thrown an exception

Source: Inject js script ‘H1 h1’

Message: Access denied! Active Scripting permission needed in Internet Explorer (Tools/Internet Options/Security tab/Custom Level button/Scripting/Active Scripting).

Exception Type: UnauthorizedAccessException

System.UnauthorizedAccessException: Access denied! Active Scripting permission needed in Internet Explorer (Tools/Internet Options/Security tab/Custom Level button/Scripting/Active Scripting).
at UiPath.Core.Activities.TaskAsyncCodeActivity`1.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Below is the error screenshot
image

Active scripting is enabled on IE as shown below
image


#2

Hi,

Tried restarting machine? check, most of the internet security tab settings need a machine restart.