check for power and ground at the switch first if there is no power there then I would check the fuses and I would also check in between the door and pillar where the door opens there should be a rubber boot with wires in it check for a broken wire
RepairPal Certified shops can diagnose and repair your 2000 Toyota Solara. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
(Sunroof)!!