<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>DataObject  problem - DataConnection</title><link>https://www.infopathdev.com:443/forums/thread/4590.aspx</link><pubDate>Sun, 20 Mar 2005 18:18:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4590</guid><dc:creator>liorlankri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4590</wfw:commentRss><description>I have an InfoPath form that contain FormCode In .Net (CodeForm- in C#). &lt;br /&gt;The Form project contain &lt;b&gt;Web Reference&lt;/b&gt; to a WebService(.asmx).&lt;br /&gt;In the form I have a Drop-Down list that gets it's values from a method in the web service that recive data (string[]) from SQL server- the form contain DataConnection (called "CodeAreaPhone") to this Web Service Method !!!&lt;br /&gt;&lt;br /&gt;I use the InfoPath SDK RegForm command line to create the MSI file and give the form full trust security.&lt;br /&gt;&lt;br /&gt;The form work well when I &lt;b&gt;install &lt;/b&gt;it on my machine. But when I install the form on other machine I get this Error:&lt;br /&gt;&lt;br /&gt;Form template: file:///C:\Program%20Files\InfoPath%20Form%20Templates\HouseForm.xsn&lt;br /&gt;The following DataObject either cannot be created or cannot be initialized: CodeAreaPhone&lt;br /&gt;The query cannot be run for the following DataObject: CodeAreaPhone&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;InfoPath either cannot connect to the data source or the service has timed out.&lt;br /&gt;&lt;br /&gt;What is the problem? Is it somthing with my web reference (Web service)? I gave full trust security so what's wrong?&lt;br /&gt;</description></item></channel></rss>