Narrative:

I took off from 2w5 (md airport) without a transponder code and clearance. After contacting potomac approach south of 2w5 at 1500 ft, I returned to the airport and obtained a clearance. I had filed a flight plan.

Google
 

Original NASA ASRS Text

Title: C172 PLT DEPS 2W5 WITHOUT REQUESTING XPONDER CODE. UPON CONTACTING PCT APCH, IS DIRECTED TO RETURN AND LAND FOR ADIZ COMPLIANCE.

Narrative: I TOOK OFF FROM 2W5 (MD ARPT) WITHOUT A XPONDER CODE AND CLRNC. AFTER CONTACTING POTOMAC APCH S OF 2W5 AT 1500 FT, I RETURNED TO THE ARPT AND OBTAINED A CLRNC. I HAD FILED A FLT PLAN.

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.