Answer
"Alien Trespass", a 2009 American science fiction comedy film, features Eric McCormack as Ted Lewis. The movie narrates the chaotic events in a small Californian town when several residents encounter an alien spacecraft and attempt to capture its extraterrestrial occupants, leading to humorous misunderstandings and misadventures.