Ice Maker not working

Ice maker stopped working so I replaced the water valve,still nothing. The water is not filling the tray and is not even calling for it. The flap on the side that closes,is there supposed to be a light on it? if so when I close it manually it shows nothing. What to do now. Thanks