I've been battling this error several times over the past few weeks in varying contexts.  Today's occurrence was in accessing "Page Settings" of a MOSS Page.  Thanks to YongYS for the following fix:


A few weeks ago I was running into this issue after backing up a content database and moving it to another farm.   Thanks to Stefan Gossner to pointing out the error in my ways: