Thank you owaisk
I have the same problem with a Hikvision NVR DS-7104N-SN/N V3.0.7build 140725 Invalid operation. :(
So your solution is:
1. Connect the NVR to a monitor.
2. Connect the NVR to the switch or router.
3. Enable UPnP on the NVR.
4. Enable DHCP on the NVR, so there is no static ip...