I am currently on NPM 10.6.1, working on migrating from report writer to web writer before upgrading.
Using the following process:
- Login to NPM Server
- Login to DB Manager and into DB for NPM
- Copy content from the definitions portion of the table for the report i want to transfer
- Save it XML with UTF-8 encoding
- /orion/reports/import.aspx
- import the XML file i created
Error:
Unable to deserialize new report file.
Expecting element 'Report' from namespace 'http://schemas.datacontract.org/2004/07/SolarWinds.Reporting.Models'.. Encountered 'Element' with name 'Report', namespace '
Detailed Error:
Message: Expecting element 'Report' from namespace 'http://schemas.datacontract.org/2004/07/SolarWinds.Reporting.Models'.. Encountered 'Element' with name 'Report', namespace ''.
ErrorSite: System.Runtime.Serialization.DataContractSerializer.InternalReadObject
ErrorType: System.Runtime.Serialization.SerializationException
Stack:
at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlReader reader)
at SolarWinds.Orion.Core.Reporting.DAL.Loader.Deserialize(XElement data)
at Orion_Reports_Import.OnLoad(EventArgs e)
My XML File Created from Report Writer:
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</SIMPLE>
</COMPLEX>
</QUERY>
</Fields>
</SIMPLE>
</SIMPLE>
</COMPLEX>
</QUERY>
</Filter>
</QueryBuilder>
</Fields>
</Report>
Thanks