<?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: Data connection file Login failed</title><link>https://www.infopathdev.com:443/forums/thread/85245.aspx</link><pubDate>Wed, 12 Dec 2012 02:29:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85245</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85245.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85245</wfw:commentRss><description>&lt;p&gt;In SharePoint Central Administration, you need to go to General Application Settings | Manage InfoPath Form Services&lt;/p&gt;&lt;p&gt;Make sure that &amp;quot;Authentication to data sources (user form templates)&amp;quot; is checked.&lt;/p&gt;</description></item><item><title>Data connection file Login failed</title><link>https://www.infopathdev.com:443/forums/thread/85106.aspx</link><pubDate>Thu, 06 Dec 2012 06:38:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85106</guid><dc:creator>atang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85106.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=85106</wfw:commentRss><description>&lt;p&gt;I have an infopath form which needs to query an SQL server through a Data Connection File (.UDCX), uploaded to production Sharepoint library. The thing is, it works on my local, but not on production. When I looked it up the error log in trace files, it says: &lt;/p&gt;&lt;p&gt;Logon failed for user xxxx. Logon failure unknown username or bad password.&lt;/p&gt;&lt;p&gt;I have my connection file as follow:&lt;/p&gt;&lt;pre class="prettyprint"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;
&amp;lt;?MicrosoftWindowsSharePointServices ContentTypeID=&amp;quot;0x010100B4CBD48E029A4ad8B62CB0E41868F2B0&amp;quot;?&amp;gt;
&amp;lt;udc:DataSource MajorVersion=&amp;quot;2&amp;quot; MinorVersion=&amp;quot;0&amp;quot; xmlns:udc=&amp;quot;http://schemas.microsoft.com/office/infopath/2006/udc&amp;quot;&amp;gt;
	&amp;lt;udc:Name&amp;gt;Staff&amp;lt;/udc:Name&amp;gt;
	&amp;lt;udc:Description&amp;gt;Format: UDC V2; Connection Type: Database; Purpose: ReadOnly; Generated by Microsoft InfoPath 2010 on 2012-12-06 at 14:57:29 by aat.&amp;lt;/udc:Description&amp;gt;
	&amp;lt;udc:Type MajorVersion=&amp;quot;2&amp;quot; MinorVersion=&amp;quot;0&amp;quot; Type=&amp;quot;Database&amp;quot;&amp;gt;
		&amp;lt;udc:SubType MajorVersion=&amp;quot;0&amp;quot; MinorVersion=&amp;quot;0&amp;quot; Type=&amp;quot;&amp;quot;/&amp;gt;
	&amp;lt;/udc:Type&amp;gt;
	&amp;lt;udc:ConnectionInfo Purpose=&amp;quot;ReadOnly&amp;quot; AltDataSource=&amp;quot;&amp;quot;&amp;gt;
		&amp;lt;udc:WsdlUrl/&amp;gt;
		&amp;lt;udc:SelectCommand&amp;gt;
			&amp;lt;udc:ListId/&amp;gt;
			&amp;lt;udc:WebUrl/&amp;gt;
			&amp;lt;udc:ConnectionString&amp;gt;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist security info=True;Trusted_Connection=Yes;Initial Catalog=DBSERVER;Data Source=DNNAME;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=MYOWNPCNAME;Use Encryption for Data=False;Tag with column collation when possible=False&amp;lt;/udc:ConnectionString&amp;gt;
			&amp;lt;udc:ServiceUrl UseFormsServiceProxy=&amp;quot;false&amp;quot;/&amp;gt;
			&amp;lt;udc:SoapAction/&amp;gt;
			&amp;lt;udc:Query&amp;gt;select &amp;quot;ID&amp;quot;,&amp;quot;SchoolStaffCode&amp;quot;,&amp;quot;CreatedDate&amp;quot;,&amp;quot;CreatedBy&amp;quot;,&amp;quot;ModifiedDate&amp;quot;,&amp;quot;ModifiedBy&amp;quot;,&amp;quot;RegistrationNumber&amp;quot;,&amp;quot;StartDate&amp;quot;,&amp;quot;StaffCampus&amp;quot; from &amp;quot;dbo&amp;quot;.&amp;quot;Staff&amp;quot; as &amp;quot;Staff&amp;quot;&amp;lt;/udc:Query&amp;gt;
		&amp;lt;/udc:SelectCommand&amp;gt;
		&amp;lt;udc:UpdateCommand&amp;gt;
			&amp;lt;udc:ServiceUrl UseFormsServiceProxy=&amp;quot;false&amp;quot;/&amp;gt;
			&amp;lt;udc:SoapAction/&amp;gt;
			&amp;lt;udc:Submit/&amp;gt;
			&amp;lt;udc:FileName&amp;gt;Specify a filename or formula&amp;lt;/udc:FileName&amp;gt;
			&amp;lt;udc:FolderName AllowOverwrite=&amp;quot;&amp;quot;/&amp;gt;
		&amp;lt;/udc:UpdateCommand&amp;gt;
		&amp;lt;udc:Authentication&amp;gt;
    			&amp;lt;udc:UseExplicit CredentialType=&amp;quot;NTLM&amp;quot;&amp;gt;
                		&amp;lt;udc:UserId&amp;gt;DBLOGIN&amp;lt;/udc:UserId&amp;gt;
                		&amp;lt;udc:Password&amp;gt;DNPASSWORD&amp;lt;/udc:Password&amp;gt;
            		&amp;lt;/udc:UseExplicit&amp;gt;
        	&amp;lt;/udc:Authentication&amp;gt;
	&amp;lt;/udc:ConnectionInfo&amp;gt;
	
&amp;lt;/udc:DataSource&amp;gt;
&lt;/pre&gt;I can login to the database using the credential above, but why is that it doesn&amp;#39;t recognize it in this case?...&lt;br /&gt;</description></item></channel></rss>