Does that error make sense ? It is possible that whoever wrote your template, is using some formapi during the preview or generate process. That is a stupid thing to do as it will not be executed in DCR viewing.
We were able to fix the problem by adding users to the 'TeamSite Web Preview' group (operating system group).