I'm at my wit's end here.
I have an existing SharePoint list that needs to be migrated into InfoPath forms in a forms library. I've managed to complete the InfoPath form via code and it works a charm in the InfoPath application (granted it doesn't submit). However, once uploaded to SharePoint Forms Library, it gives "Unknown Error" and a "Form Loading" message on the same screen.
Any ideas or suggestions as to where I should start looking for the problem?