No idea what the problem could be, but I have a completely functioning Sunroof off a 1997 Civic EX. I'll be willing to part it out if you need a part off it, just let me know. I can also just sell it complete if you want to pay shipping.
Hope you figure out the problem!