The S&P 500 closed at a 29-month high on Wednesday, led by gains in commodity and technology shares, as investors largely ignored the U.S. Federal Reserve's lukewarm economic assessment.

The Dow Jones industrial average <.DJI> edged up 8.25 points, or 0.07 percent, to end unofficially at 11,985.44, after flirting with levels just above 12,000 earlier in the day. The Standard & Poor's 500 <.SPX> rose 5.45 points, or 0.42 percent, to finish unofficially at 1,296.63. The Nasdaq Composite <.IXIC> gained 20.25 points, or 0.74 percent, to close unofficially at 2,739.50.

The S&P 500 closed at its highest level since late August 2008.

(Reporting by Rodrigo Campos; Editing by Jan Paschal)