RepairPal Certified shops can diagnose and repair your 2006 GMC Canyon. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
Two problems may be a couple of things.
Broken wiring in hinge wires at door hinge.
If Door lock and Window switch is part of the SAME switch assembly Could be that also
Good Luck
thank you