Problem with IDE portcable on Dell 170L

Recently I accidentally tried to connect a hard disk on my PC without switching it off. The hard disk started making a huge noise and I plugged it off so that I could save my PC without any damage. Then I tried to connect another hard disk on the same port on which previous hard disk was connected but it is not detected by my PC. I know the hard disk is fine as I have connected it to another PC and it connected without any problem.
I changed my IDE cable (it is 40 pins) but it still does not detect my hard. Please explain my problem whether I have to change my cable or the port has crashed completely. Please provide me with a solution most probably without spending a lot of the budget on motherboards and on those ide/sata cards.
