<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: "The form could not retrieve data from ItemMetadata because it would violate cross-domain restrictions."</title><link>https://www.infopathdev.com:443/forums/thread/65715.aspx</link><pubDate>Mon, 04 Apr 2011 10:27:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65715</guid><dc:creator>MarcusF</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65715</wfw:commentRss><description>I solved it!  The *name* of the data connection must be ItemMetadata.xml as well as the *file name* being ItemMetadata.xml.</description></item><item><title>"The form could not retrieve data from ItemMetadata because it would violate cross-domain restrictions."</title><link>https://www.infopathdev.com:443/forums/thread/65714.aspx</link><pubDate>Mon, 04 Apr 2011 09:11:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65714</guid><dc:creator>MarcusF</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65714.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=65714</wfw:commentRss><description>When I test my workflow form in Forms Services, I am getting the following DataAdapterException error: 


04/04/2011 10:01:12.49	w3wp.exe (0x06CC)	0x0D8C	Forms Server	Forms Services Runtime - Data C	82fx	Warning	
The form could not retrieve data from ItemMetadata because it would violate cross-domain restrictions. To allow this connection for administrator-approved form templates, enable full trust for the form template, or add the connection to a Data Connection Library.  For user form templates, 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.


I could understand this message if the secondary data source was a database or a web service, but to get this for ItemMetadata.xml seems very strange!  I have tried making the form full trust, but that didn&amp;#39;t make any difference.  Adding the connection to the DCL doesn&amp;#39;t make any sense, and there is no means to convert that type of connection to a .udcx!


Does anyone have any ideas??

Many thanks</description></item></channel></rss>