You need to have all your components installed from the same copy and version of CS and not mixed/seperate ones. Install the AE 7.0 that comes with the Creative Suite. If the Serial Numbers are from different installs it wont work.
Generally you have to uninstall Photoshop, Premiere Pro, After Effects, Illustrator, and even Adobe Bridge, and then install all of them from the same copy of CS2.