Revo America NVR (Uniview) - Importing Config File Fails If Modified

IPNewB

n3wb
Joined
Feb 16, 2018
Messages
6
Reaction score
3
I exported the configuration of a Revo NVR and made a minor modification. It's an .xml file and the only thing I am changing is the last octet of the IP of two cameras. I'm just trying to put them in sequence with the rest of the cameras as they were changed during some testing. The camera add method is plug-and-play and it won't let me change the IP in the interface.

The import is failing for some reason. The .xml says it's utf-8 and I'm resaving the file with the same encoding. What may be preventing me from importing this file?
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,980
Reaction score
6,802
Location
Scotland
The .xml says it's utf-8 and I'm resaving the file with the same encoding.
I'm presuming that the config_a.xml file is using the Linux EOL character <linefeed> and maybe you are editing it in Windows / MSDOS which may have converted the <linefeed> to <CRLF>.
Confirm the before and after with a hex editor, or file size.
 

IPNewB

n3wb
Joined
Feb 16, 2018
Messages
6
Reaction score
3
Perhaps that's it, thanks. I'm using EmEditor in Windows. It does have an option to save as Linux EOL. I'm not sure how to confirm the linefeed with a hex editor. Are there any other apps that can confirm this? The file size will be different because of the changes.
 
Top