A mandatory warning: working with electric wires is dangerous and can kill, so we always advise to get a help of a licensed electrician.
So, you disconnected the fan's blue from the black, and switched it over the the light's blue? The fan's blue wire is usually connected to the light's blue wire and that's how the light is controlled by the fan's remote control. From your description it appears you've done everything right as far as wiring is concerned. Are there proper bulbs in the light fixture?
You did not describe what you did with the ground wire, and that concerns me - there may be an issue with the internal wiring - for example neutral (white) wire has a voltage between it and the ground, and it might have sparked between it and the metal of the fan or the fixture. That would make it dangerous to work on this install on your own. I would advise to get a professional to look at it at this point.