Unable to Save Dashboards
I periodically will be working on a dashboard only to encounter the following error when I try to save:
"Error message: Could not publish Dashboard.
InvalidOperationException at Spotfire.Dxp.Framework:
Attempt to write an inconsistent embedded resource to stream. (HRESULT: 80131509)
at Spotfire.Dxp.Framework.Persistence.EmbeddedResource.WriteToStream(Stream stream)
at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, IndeterminateProgressFormatter progressFormatter, ProgressOperation operation)
at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, Int64 totalSteps, DeterminateProgressFormatter progressFormatter, ProgressOperation operation)
at Spotfire.Dxp.Framework.Persistence.PersistenceManager.AddEmbeddedResources(SerializationContext serContext, ZipWriter zWriter, String embeddedResourceEntryName)
at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, Stream targetStream)
at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, String fileName)
at Spotfire.Dxp.Application.AnalysisApplication.SaveAs(LibraryEntry entry, Document document, LibraryItemMetadataSettings metadataSettings, DocumentSaveSettings saveSettings)
The dashboard never has embedded data, and nothing I seem to change with respect to embedded data seems to change the error. Inevitably once I receive this error, I have to close Spotfire (discarding all my work) and open the same dashboard again to make the same changes (which I can then save with no issue).
What does this error mean and how can I recover and save the dashboard after it has appeared?
Hey, So we started facing this issue, Where you able to figure out why this issue happened for you?
Thankfully I had saved a version couple of minutes back, So I did not loose anything.
But it is annoying to loose all your work.