If you are running on a different source code revision than the DB was from, you are most likely missing some SQL, specifically this:
http://code.google.com/p/projecteqem...svn2072&r=2072
And if you are missing that, then you may be missing other required SQL as well.