Hello,
I developed a word plugin . The OnRunWizard method calls Show() on a Wpf Window .When the WPF form tries to change a Word document using Open XML SDK V2.0 using this command:
doc.MainDocumentPart.Document.Save())
<--IsolatedStorageException:Unable to determine the identity of domain
I followed a previous post (http://social.msdn.microsoft.com/forums/en-US/vsx/thread/a64202cd-23cb-47c4-b92c-88e47354dfc9/ ) which suggested wrapping the OPEN XML in a appdomain , which works , but causes some ugly coding because I have convert my ObservableCollection lists into generic list because ObservableCollection does not serialize for appdomain.
Is there a better way to handle writing to a word doc using Open XML SDK V2.0 from a word plugin?
Thanks a ton, Peter