"I haven't had any luck" means "I tried, but it did not work for me".
For example, if this person is at a library, and you ask him if he knows how to print something out, he might say, "I haven't had any luck on the computers here." That would mean, "I tried to print, but it didn't work for me."