Worried710 is right and your doctor is wrong. Herpes and canker sores are entirely different things.
As to whether or not you have herpes: The reliable HSV blood tests do not test for IgM. In other words, the fact that you have an IgM result means the lab didn't do a truly accurate test. You may well be negative, but the HerpeSelect test would tell for sure.
Good luck-- HHH, MD
A lot of people group the two together, however. A cold sure is caused by herpes only, and almost all the time, HSV1. 99.9% of the time they occur on the outside of the mouth, usually at the edge of the lips and occurs as a cluster of blisters that opens and then scabs over. Canker sores are inside the mouth only, and usually occur on the roof of the mouth, inside the cheek, and inside your lower lip, but can occur other places inside the mouth as well.
So basically, canker sore is almost always inside the mouth, and isn't caused by herpes, nor is it contagious.
Cold sores are almost always outside the mouth, and caused by HSV1, and are contagious.
But since you had a canker sore, and not (apparently) herpes, why are you being tested for HSV anyway? Whether postive for HSV-1, -2, both, or neither, the result will say nothing about the cause of the sores in your mouth.
HHH, MD