There are two simple, proven ways to avoid ticket re-sale. The first is to use "print at home" tickets. People are unwilling to repurchase these as there is no guarantee that they won't be sold multiple times. The second is to use a registration system and personalised tickets, ideally with a photo provided by the customer.
I wish Louis CK every success, but operating a ticket agency is a complex business. Not just the ecommerce side (which is a nightmare in itself given the bursty nature of the traffic), but marketing, fulfilment, customer services, reissue and an understanding of local rules and regulations are all essential components.
I'm in the UK where the market is more fragmented (and competitive). I do understand the frustration with Ticketmaster in the US, but good ticket agencies can and do add value to the process - and leave the artist free to concentrate on their art.
I work for a (non-TM) ticket agency in the UK.