I have come across this problem once before down here and it turned out to be that the customer was puting the washing powder in the bottom tray of the dishwasher instead of the despensing container in the door. The smell was bad as the element heated to heat up the water and got worse when the machine was in the drying stage.
The problem stopped dead just as soon as the customer began to put the washing powder into the proper despenser in the door container.
A simple mistake with a simple remedy.
Selgas Services Ltd
Craftsman Gasfitters, Plumbers, Electrical Service Technicians