I've run into a similar problem with Infopath 2007 when just moving the field data sources around. The expression validates correctly, but when trying to preview the page you get the unhelpful message:
Microsoft Office InfoPath
-------------------------------
InfoPath cannot open the selected form.
-------------------------------
OK
I ...