The form could not be submitted to %1 because this action would violate cross-domain security restrictions. To allow this ...

The form could not be submitted to %1 because this action would violate cross-domain security restrictions.  To allow this data connection for administrator-approved forms, enable full trust for the form template, or add the connection to a Data Connection Library.  For user forms, cross-domain connections must be enabled in SharePoint Central Administration, and all connections must be in a Data Connection Library.  For more information, please see the security documentation for InfoPath Forms Services. (User: %2, Form Name: %3, IP: %4, Request: %5, Form ID: %6, Type: %7, Exception Message: %8)