Thanks for the advice Boxsterra, it's a 99 Boxster, sorry I should have mentioned that, I found the problem, it was my fault. I replaced the drivers side sun visor because it was floppy with a good used one. I pinched the wiring behind it when installing the used one and that created a short to the microswitch for the convertible top. I'm glad I thought to finally look there because the wiring runs behind it and I thought let me just take a look and sure enough that was the problem. Thanks for your help, I really appreciate it, this has been driving me nuts for the last few weeks. It didn't happen right away either it was a few days after I installed it, so I had no idea what the problem was.
Joe