Hi,
I've published a non-web enabled form with Infopath that contains code. And a workflow created by SP Designer, to approve created forms. After the task is created sometimes I was getting an error that says "the form has been closed" when I click to link of the infopath form from Workflow Task list (there is no problem if you click from "sampleform" form library). In the log files it is written like "MetaInformationByUrl:CrossSite check failed for site URL=http://aaa and file URL=: http://bbb/sampleform/Forms/template.xsn".
And I realized that some users reach sharepoint from http://aaa and some of them from http://bbb. I've published and created the workflows from http://aaa
I made some research and I saw that I have to enable "Cross-Domain Access for User Form Templates" from central administration. In central administration my form template is not installed. When I try to upload my form template it says "The form template is not browser-compatible, perhaps as a result of modifications made outside of Microsoft Office InfoPath. It might be possible to correct the problem by republishing the form template from within Microsoft Office InfoPath."
But my form is not web-enabled form. What should I do to fix that "The form has been closed" error?