I had the same error after enabling documents in the Admin GUI
FF gave me an error something that the recursive was to long
IE gave me an error about that the stack was to small.
The error disappear after I created documents per domain in the admin GUI
Configuration->Domains-> <domainname> -> Documents Tab
and "Create Documents"
And the Notebook/Document work nicely
Hope this can help