Error message: Could not publish <dashboard or report>.
SerializationException at Spotfire.Dxp.Framework:
Attempt to read from a node that is in state 'Disposed': Spotfire.Dxp.Framework.DocumentModel.State.DisposedUndoablePropertyNodeState`1[[System.String, mscorlib, Version=188.8.131.52, Culture=neutral, PublicKeyToken=b77a5c561934e089]].
To resolve this issue, below are few possible workarounds to follow:
Option A:- Deploy the missing extensions, this should remedy the situation.
The report could have been originally created with a Spotfire extension installed, that is no longer installed. This can happen when changing deployment areas, or after a software upgrade that had to remove old and no longer supported Spotfire extensions.
1) Create a text area > Add a script control with the following script
from System.Reflection import BindingFlags
nodes = Document.CustomNodes
type = nodes.GetType()
removeMethod = type.GetMethod("RemoveStandIns", BindingFlags.NonPublic | BindingFlags.Instance);
2) Run the script
3) Remove the text area and delete the pages
4) Save the file
Option C:- Create a clean analysis, move content from the old analysis to the new (drag'n'drop pages)
This box will be hidden from the public.
From Case: #219072