Dishwasher problem

I have a Kitchen Aid KUDS01FLSS2 that has the "Rinse only" and "Cancel" lights flashing continuously. I replaced the control panel and user interface as they were damaged, and I assumed that was the problem. Still doing the exact same thing. The "Rinse only" stops after a long period of time. The "Cancel" never stops blinking. Any advice would be appreciated.

If it is not a problem from your control board, then it should be something with the sensors. It will cost pennies, try changing them.