Denied entry to a country?

William S asks those who’ve been denied entry to a country to explain what happened.  Meanwhile, in another forum is a thread complaining about the treatment on a flight after being denied entry to a country (along with some oddities in the denial process).