Hi everyone, I'm stuck on this issue and really unsure what the problem is.
I am trying to simply save the (IXMLPropertySet2)IMetadata.Metadata using the IXMLPropertySet2.SaveAsFile() method with the following code:
Which produces the following error when that code is called:
An exception of type 'System.Runtime.InteropServices.COMException' occurred in ArcCatalog_MetadataTool.dll and wasn't handled before a managed/native boundary
Additional information: Namespace 'urn:schemas-microsoft-com:xslt' does not contain function 'utc'.
As far as I can tell from this microsoft site, it should in fact contain the utc function.
I have been spinning my wheels on this for a while now, I can't see what's wrong here. Anyone able to offer insight?
I am trying to simply save the (IXMLPropertySet2)IMetadata.Metadata using the IXMLPropertySet2.SaveAsFile() method with the following code:
Code:
metadataToolControlVM.CurrentMetadata.SaveAsFile("C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\Metadata\\Translator\\ARCGIS2FGDC.xml", "", false, "C:\\Temp\\test.xml");An exception of type 'System.Runtime.InteropServices.COMException' occurred in ArcCatalog_MetadataTool.dll and wasn't handled before a managed/native boundary
Additional information: Namespace 'urn:schemas-microsoft-com:xslt' does not contain function 'utc'.
As far as I can tell from this microsoft site, it should in fact contain the utc function.
I have been spinning my wheels on this for a while now, I can't see what's wrong here. Anyone able to offer insight?