I had the same problem at Carway border. US guards were very nice but Canadian guards were very rude. They told me the same thing, but after 10 minutes they told me that I cannot land because my CIC file shows that I'm single but my immigration file shows that I'm married and they cannot fix...