I have the same problem. Using ICD2 with dsPIC30F2012 all working fine. 3 days ago impossible to start ("Invalid Target ID .. ")
I réinstall driver tool and MPLAB 8.02, with your method (on WINDOWS 98) the problem persist.
I try to install on an other PC ( Windows XP), I have the same problem.
If I use a 18Fxx it's OK
On MPLAB ICD2 Setting I have :
Target Vdd 0 V
Target Vpp 12.62 V
ICD2 Vpp 12.78 V
Target is correctly powerd (5V)
If I set "reset", I MCLR=1.56V with R-pull up 10k and 3.68V with R pull-up 1K
If I start with 18Fxx, set the reset I obtain 5V on MCLR. If I change the target for dsPIC30F2012 (or dsPIF30F3013) without stop, MCLR remain at 5V
HELP ME please !
Excuse my bad english !