Problem Compaq Presario CQ40 smell like burning when turn it on

Compaq Presario CQ40 smell like burning near the RAM slot inside when turn it on or even just plug Ac adaptor. Smell's burning occurs. What I did I open the where the memory bank is. So what I figured out is on the board power section.
Thus anyone knows how.
