Hello,
The suggestion made by Golubkov is correct. Make sure that you have configured the CAN objects to correspond to the Ports- for instance, Port1 to CAN0 and Port 2 to CAN1.
If this dosen't fix the problem, let us know what the error message clearly states ( can be found out by clicking on the details tab).