The posts above do not describe your Country Coach. If you open the door and look on the door jamb approximately 4" above the door sill, you will find a button which is part of a mechanical switch. On the door, you will find a plunger that pushes in on that button when the door is closed. The switch is a make or break type so if the plunger isn't adjusted properly to keep the switch pushed it, it could cause your problem.
You might want to pull out your schematics to see what else is in the circuit. There is also a rocker switch on the panel just inside the front door on the right side that could be faulty