It means you missed reconnecting something properly. If you have an iMac with memory access at the bottom of the screen (most are like that) remove and then put the memory back in making sure the memory is sitting correctly in the socket.
If that doesn't fix it, you'll have to open the system up again and make sure you reconnected all the internal cables correctly and didn't damage any of them.