Problem
When attemptiong to save analysis file in a new or recently upgraded Spotfire environment, the following error message is displayed:
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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].
Solutions
The following workaround solutions can be used to resolve this issue:
Option A:- Deploy the missing Spotfire custom extensions, which 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.
Option B:-
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);
removeMethod.Invoke(nodes, None)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 analysis using "drag'n'drop " of individual analysis pages.
This box will be hidden from the public.
From Case: #219072
Comments
0 comments
Article is closed for comments.