Driver Station Robot Code Problems?

I have been trying to deploy to my RoboRIO but my driver station says there is no robot code to deploy. However, through the VI itself and my dashboard (LabVIEW) it says that the code has deployed successfully. The RIO itself also has a red COMM light saying there is a user code error… My team and I are stumped. Any suggestions?

You’re running from Robot Main, correct?

Yes, we are.

You need to build the program first, then run as startup. Don’t use deploy – it will usually work fine, but there are ways for it not to.