Bosch does not pump water to spray arms

When you start the dishwasher it fills with water and then make a continuous noise from a device right behind the box in the front were you wire it for electric. The dishwasher drains fine when you cancel the wash cycle. Not sure what I need to replace to get it to the wash cycle.