I was getting this error while trying to all a new custom web part to the site.
Searching for the same found out the reason for that
It happens when you install smart part
But haven’t installed asp.net ajax 1.0 version !
Follow it with an iis reset !!