Given that this has gone away
Before you reprogram the chip see if you can get MPLAB to reprogram it. Under debugger or programer in the main menu "Download New OS" or similar.
It seems you are making progress.ICDWarn0027: The selected baud rate is not supported by your system. Chances are it will work anyway, but if persistent communications occur, consider switching to a lower baud rate.
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'Systemet finner ikke angitt fil.
Before you reprogram the chip see if you can get MPLAB to reprogram it. Under debugger or programer in the main menu "Download New OS" or similar.