Sharepoint 2013 – The total size of the activity XAML is greater than the maximum allowed size of 51200 KB | NetConfig

Sharepoint 2013 – The total size of the activity XAML is greater than the maximum allowed size of 51200 KB

 

При публикации Workflow 2013 выскочила ошибка.

Microsoft.Workflow.Client.ActivityValidationException: Workflow XAML failed validation due to the following errors:

The total size of the activity XAML including the referenced XAML is greater than the maximum allowed size of 51200 KB.

XAML Error

Решение:

1. Открываем базу WFResourceManagementDB и выбираем таблицу dbo.WorkflowServiceConfig

2. Нажимаем правой кнопкой и выбираем «Edit Top 200 Rows»

3. Изменяем параметр WorkflowServiceMaxWorkflowXamlSizeInBytes (например, увеличиваем в 2 раза)

WorkflowServiceMaxWorkflowXaml

Делаем перезапуск в IIS WorkflowMgmtPool и Workflow Management Site




Тэги: , , , , , ,



2 Responses to “Sharepoint 2013 – The total size of the activity XAML is greater than the maximum allowed size of 51200 KB”

  1. Edla 21. Jun, 2016 at 16:03 #

    Hi,
    I am sure you have a reason for updating the SharePoint DB table directly, instead of using powershell. I tried updating using PowerShell, but the values are not reflected in DB. Hence unable to publish the workflow too. Can you throw out some suggestions pls.

  2. Евгений Оковитый 07. Jul, 2016 at 21:09 #

    Hi, try this in Sharepoint PowerShell
    Set-WFServiceConfiguration

    ServiceUri: http://localhost:12291/
    Name: WorkflowServiceMaxWorkflowXamlSizeInBytes
    Value: 104857600

Оставить комментарий


iTuts dakulov Free CDN NetConfig