could be a faulty dispenser solenoid.usually have to change the whole unit which can be costly.if you do straight wash cycles without prewash put the detergent on the filter in the base then select wash. works just as well and no cost involved
CK, November 2013
edit
I can answer this question...
detergent dispenser door does not open when machine is in operation?