Encountered error while trying to work a form entry in InfoPath 2010

I encountered this error message while trying to work a form entry in InfoPath 2010, it appears the id attribute was not rendered but it still is required by InfoPath 2010. How do I solve this problem?
Microsoft InfoPath
Some extended data was not retrieved. The form will load without the requested data.
                                                                                                OK               Hide Details <<
The Query cannot be run for the following DataObject: TestDDL
InfoPath cannot run the specified query.
Access is denied.
