SCORCH 2016 Migration issue: an error occurred saving the activity to the data store Please check the orchestrator management service trace logs

Issue 
After migrating to System Center Orchestrator 2016,  you encounter this error:

An error occurred saving the activity to the data store Please check the orchestrator management service trace logs 

The Management Service log (C:\ProgramData\Microsoft System Center 2012\Orchestrator\ManagementService.exe\Logs) contains only thes line for every attempt

2015-10-15 12:45:02 [3752] 1 COpalisManager::ModifyObject::CheckAccess (HRESULT=0x80070005)

2015-10-15 13:16:09 [3176] 1 COpalisManager::ModifyObject::CheckAccess (HRESULT=0x80070005)

2015-10-15 13:17:21 [3176] 1 COpalisManager::ModifyObject::CheckAccess (HRESULT=0x80070005)


Cause
This happens because the Runbook has an Email activity with attachment. This is a known bug with System Center Orchestrator 2016.

Workaround

If you only have few runbooks with  Email activity with attachment .you can perfrom these 2 workarounds:
1)  You need to remove the attachements and re-add in order to check-in
This will work for 1 Email activity with attachment

2)  Runbook has 2 or more email activity with attachment then Copy the runbook into a new one

Fix


Apply Hotfix for Microsoft System Center Orchestrator 2016 UR4 (KB 4058492)
https://www.microsoft.com/en-us/download/details.aspx?id=56371


After applying the UR4 patch for the management server and the runbook service you need to re-configure the Database Connection with the DataStore Utility (DBSETUP.EXE).
you may run into this issue:

I had an issue with connecting to the Database Server the fix is to install
the SQL 2012 SP4 native client (ENU\x64\sqlncli.msi) from
https://www.microsoft.com/en-us/download/details.aspx?id=56041

More details here
https://blogs.technet.microsoft.com/germanageability/2017/11/14/quick-note-runbookservice-might-fail-to-start-after-applying-system-center-orchestrator-2016-ur4/




Comments

Popular posts from this blog

Useful Orchestrator T-SQL Queries

Error in Orchestrator Web console and Web Service after moving Database