<?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: InfoPath and SQL Server 2005 Data Connection Failures</title><link>https://www.infopathdev.com:443/forums/thread/26088.aspx</link><pubDate>Wed, 30 Jan 2008 19:26:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26088</guid><dc:creator>LISpeedyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26088.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26088</wfw:commentRss><description>&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;Thanks for your replies...&lt;/p&gt;
&lt;p&gt;I have tried both suggestions and they were not successful.&amp;nbsp; I MUST be doing something incorectly that is very basic.&lt;/p&gt;
&lt;p&gt;Let me try and explain a bit further (Note I am not logged into the server&amp;#39;s domain at this point):&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; I have published one of the standard forms to a forms library (Expense Report).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Once Published it displays and accepts input in a browser ot InfoPath perfectly.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; I then open the form &amp;quot;for re-design&amp;quot; from the site.&amp;nbsp; And, since it is in ReadOnly form I save it to a local Directory.&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp; I change the type of user-input box for one of the standard fields on the form (ID Number) to DropDown.&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp; I then attempt to alter the data properties of the DropDown as &amp;quot;look up values from an external data source&amp;quot;&lt;/p&gt;
&lt;p&gt;6.&amp;nbsp; I choose to search for a connection on the SharePoint site&amp;gt; I select a Site&amp;gt;Expand selection&amp;gt;Choose an XML Connection&amp;gt;Next&lt;/p&gt;
&lt;p&gt;7.&amp;nbsp; Now is tries to search for the data connection displaying &amp;quot;ADO Data Connection&amp;quot; &amp;quot;Connecting to Database&amp;quot; and..&lt;/p&gt;
&lt;p&gt;8.&amp;nbsp; InfoPath cannot connect to the data source.... ARGH!!&lt;/p&gt;
&lt;p&gt;This happens each time no matter&amp;nbsp;how the connection string is defined whether the credentials are in the string or not..&lt;/p&gt;
&lt;p&gt;Is it possible that I need to be logged into the domain for this to work as expected?&amp;nbsp; Since most of my time spent at customers sites, I have not tried this logged into the Sharepoint Domain.&amp;nbsp; But, I did not think it was necessary.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyway, I am at the end of the proverbial rope here.&amp;nbsp; Hopefully, the experts here can give me some more advice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Gus&lt;/p&gt;</description></item><item><title>Re: InfoPath and SQL Server 2005 Data Connection Failures</title><link>https://www.infopathdev.com:443/forums/thread/26086.aspx</link><pubDate>Wed, 30 Jan 2008 18:15:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26086</guid><dc:creator>Psichiboy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26086.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26086</wfw:commentRss><description>&lt;p&gt;If you save the user credentials into the data connection, make sure that Embedded SQL Authentication is turned on in Central Administration on your SharePoint server (Central Administration &amp;gt; Application Management &amp;gt; Configure InfoPath Forms Service). You will also need to Approve the UDCX before any users can use the connect.&lt;/p&gt;
&lt;p&gt;Good luck&lt;/p&gt;</description></item><item><title>Re: InfoPath and SQL Server 2005 Data Connection Failures</title><link>https://www.infopathdev.com:443/forums/thread/26047.aspx</link><pubDate>Tue, 29 Jan 2008 22:02:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26047</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26047</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi&lt;/p&gt;&lt;p&gt;Whenever I connect to SQL from InfoPath I select a specific SQL Logon that my InfoPath forms use that exists only in SQL so I operate in Mixed mode.&amp;nbsp; Authenticated for me and SQL Login for the form.&lt;/p&gt;&lt;p&gt;Works a treat every time as you just add the full credentials into the data connection, select &amp;quot;save the password&amp;quot; and job done.&lt;/p&gt;&lt;p&gt;Try this to see if it works, if not then we can look at other avenues&lt;/p&gt;&lt;p&gt;Cheers&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>InfoPath and SQL Server 2005 Data Connection Failures</title><link>https://www.infopathdev.com:443/forums/thread/26006.aspx</link><pubDate>Tue, 29 Jan 2008 06:06:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26006</guid><dc:creator>LISpeedyG</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26006.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=26006</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m about to pull out the rest of my hair because of what is supposed to be a fairly simple task.&lt;br /&gt;Anyway, some background:&lt;/p&gt;
&lt;p&gt;Hardware/Software Conf.&lt;br /&gt;Server 2003(Dev2.Dom2) -- Moss 2007&lt;br /&gt;Server 2003(Dev3.Dom2) -- SQL Server 2005&lt;br /&gt;InfoPath 2007&lt;br /&gt;All Up to Date with current SP&amp;#39;s and patches.&lt;/p&gt;
&lt;p&gt;I can log into Dev3 with SQL Server Management Studio and Express using both Windows authentication and SQL Server Authentication from computers both loged into Dom2 as well as outside using the appropriate Authentication.&lt;/p&gt;
&lt;p&gt;My task was to develop a InfoPath form that retreives certain form fields from the SQL Server residing on Dev3 while entering other relevant information into the form for posting either into a seperate DB or into MOSS lists.&amp;nbsp; In searching MSDN I decided to test the concept using the example provided here: &lt;a href="http://msdn2.microsoft.com/en-us/library/bb431899.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb431899.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So, using the above process I developed and activated an xml file in a DCL library.&amp;nbsp; However each time I attempt to connect to the DB thru InfoPath&amp;#39;s Data Connection Wizard it fails wih the cryptic message &amp;quot;InfoPath Cannot Connect to the data source&amp;quot;.&amp;nbsp; And the details simply id &amp;quot;InfoPath has encountered an error. The operation failed.&amp;quot;.&amp;nbsp; When reviewing the SQL Logs I get (at times) &amp;quot;Login failed for user &amp;#39;&amp;#39;. The user is not associated with a trusted SQL Server connection&amp;quot;&lt;/p&gt;
&lt;p&gt;I have tried several suggestons from this site, i.e. rebooting but to no avail...&amp;nbsp; Are there some other tips you folks could share to help me debug this problem?&amp;nbsp; Any Help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Gus&lt;/p&gt;</description></item></channel></rss>