code P1451 (EVAP Emission Control System)

Hi, I'm new here and this may seem like a stupid question but here goes.
Have 99 Mazda with 335,000 KM and still runs like brand new. However have had a check engine light with code 1451 associated to it since I bought it used. Have to get emmissions check so need to fix this. Last summer a friend of mine changed the box on the truck as I am disabled and unable to do this kind of thing anymore. Changed the Mass Air Flow Sensor last week as it was suggested that this was the problem. The truck is running smoother but still have same code. I am confused as to the location of the evap solenoid. If I new where it was I might be able to crawl under the truck and check the circuit connection
Thanks for any help




