Replaced the water inlet valve and the water filter housing. It fixed the ice maker but the dispenser would still not work. Found that on this model the water tank is in the freezer door and it appeared to be frozen. I left the unit unplugged with the doors open overnight and both now work fine.