Narrative:

As I applied takeoff power the captain and I heard a loud bang. I reduced the power to ground idle. The captain and I both looked out the windows (side) to see what it was and saw nothing. The captain then asked me to add a small amount of power on the engines to see what happens. I did and on the #2 engine sparks were coming out of the exhaust so I told the captain I was shutting down the #2 engine and he agreed. I shut down the engine (#2).

Google
 

Original NASA ASRS Text

Title: BE1900 CREW HAD A COMPRESSOR STALL WHEN APPLYING TKOF PWR, LATER THEY SAW SPARKS COMING OUT OF THE EXHAUST OF #2 ENG.

Narrative: AS I APPLIED TKOF PWR THE CAPT AND I HEARD A LOUD BANG. I REDUCED THE PWR TO GND IDLE. THE CAPT AND I BOTH LOOKED OUT THE WINDOWS (SIDE) TO SEE WHAT IT WAS AND SAW NOTHING. THE CAPT THEN ASKED ME TO ADD A SMALL AMOUNT OF PWR ON THE ENGS TO SEE WHAT HAPPENS. I DID AND ON THE #2 ENG SPARKS WERE COMING OUT OF THE EXHAUST SO I TOLD THE CAPT I WAS SHUTTING DOWN THE #2 ENG AND HE AGREED. I SHUT DOWN THE ENG (#2).

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.