Narrative:

On return leg of flight, may have inadvertently flown into class B airspace without a clearance. By this point of the flight, I had preflted 3 airplanes before finding one that was airworthy. Was running late. Had not flown at night cross country in probably 6 months. Had turned back after not being able to locate my destination airport, and was tired. Callback conversation with reporter revealed the following information: reporter stated that the main reason for his inadvertent class B entry was the fact that he had misprogrammed the identify in his GPS for the destination airport, causing him to not locate it and then to become confused while returning to his base airport which was underlying the class B airspace.

Google
 

Original NASA ASRS Text

Title: PLT OF A C172 INADVERTENTLY PENETRATED CLASS B AIRSPACE AFTER BECOMING DISORIENTED DURING A NIGHT XCOUNTRY FLT.

Narrative: ON RETURN LEG OF FLT, MAY HAVE INADVERTENTLY FLOWN INTO CLASS B AIRSPACE WITHOUT A CLRNC. BY THIS POINT OF THE FLT, I HAD PREFLTED 3 AIRPLANES BEFORE FINDING ONE THAT WAS AIRWORTHY. WAS RUNNING LATE. HAD NOT FLOWN AT NIGHT XCOUNTRY IN PROBABLY 6 MONTHS. HAD TURNED BACK AFTER NOT BEING ABLE TO LOCATE MY DEST ARPT, AND WAS TIRED. CALLBACK CONVERSATION WITH RPTR REVEALED THE FOLLOWING INFO: RPTR STATED THAT THE MAIN REASON FOR HIS INADVERTENT CLASS B ENTRY WAS THE FACT THAT HE HAD MISPROGRAMMED THE IDENT IN HIS GPS FOR THE DEST ARPT, CAUSING HIM TO NOT LOCATE IT AND THEN TO BECOME CONFUSED WHILE RETURNING TO HIS BASE ARPT WHICH WAS UNDERLYING THE CLASS B AIRSPACE.

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.