Which OS, 32- or 64-bit? Does the hard drive work properly? Go to the disc management and see if it's being used to anything (which it shouldn't).
Make sure you didn't disconnect any cables when installing the hard drive, disconnect the network cables and connect them again. Boot your network device, whatever you're using to connect to the internet. Also Sweet's second question is quite relevant.