Error 0 is general error it could be like you forgot comma, semicolon or any thing.
can you check the exact error by enabling document log.
Go to document properties --> general --> select generate log file.
Let me know what does it point to.
Or you can share the same here.
hope it helped.