Solution
This problem occurs when your alias is not added to the CAN database. Since your alias(CAN database file) is the new alias to the target PC, you need extra code which adds it into the CAN database.
You can simply add the new alias by using
XNET Database Add Alias.vi
alias is the name of the constant of the new CAN Database file.
filepath is the location of the new CAN Database file. Note that this location is where the CAN Database file will be located in the target PC.
You can create your LabVIEW code as shown below.