<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Form with code and UDCX Data Connection using Secure Store AppId and CredentialType=SQL</title><link>https://www.infopathdev.com:443/forums/thread/93318.aspx</link><pubDate>Fri, 27 Sep 2013 00:23:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93318</guid><dc:creator>tenbao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=93318</wfw:commentRss><description>Due to some support requirements, I won&amp;#39;t be able to admin publish it. Doesn&amp;#39;t sound like you&amp;#39;ve run into this kind of issue before. I was hoping there was a known cause. So I guess there&amp;#39;s no way to use SSO SQL credentials in a Browser-based form with code.</description></item><item><title>Re: Form with code and UDCX Data Connection using Secure Store AppId and CredentialType=SQL</title><link>https://www.infopathdev.com:443/forums/thread/93316.aspx</link><pubDate>Thu, 26 Sep 2013 21:53:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93316</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93316.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=93316</wfw:commentRss><description>&lt;p&gt;Hi tenbao,&lt;/p&gt;
&lt;p&gt;It sounds like the UDCX connection is unable to use the secure credentials when there’s code in the form and this sounds like some security restriction associated with running the form in the sandbox. &lt;/p&gt;
&lt;p&gt;Could you&amp;nbsp;try to admin publish the form?&lt;/p&gt;</description></item><item><title>Re: Form with code and UDCX Data Connection using Secure Store AppId and CredentialType=SQL</title><link>https://www.infopathdev.com:443/forums/thread/93223.aspx</link><pubDate>Mon, 23 Sep 2013 21:11:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93223</guid><dc:creator>tenbao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=93223</wfw:commentRss><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;Any idea how this is happening?&lt;/p&gt;</description></item><item><title>Form with code and UDCX Data Connection using Secure Store AppId and CredentialType=SQL</title><link>https://www.infopathdev.com:443/forums/thread/92966.aspx</link><pubDate>Wed, 11 Sep 2013 23:12:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92966</guid><dc:creator>tenbao</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=92966</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m running into a problem when a form is published with the below conditions in my QA and PROD environments, I am unable to query a SQL data source:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;qRules injected OR form contains code&lt;/li&gt;&lt;li&gt;SQL data connection is published to data connection library&lt;/li&gt;&lt;li&gt;UDCX file is edited to use the below authenticaton settings:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&amp;lt;udc:ConnectionString&amp;gt;Provider=SQLOLEDB.1;Initial Catalog=DB;Data Source=SQLServer,1414&amp;lt;/udc:ConnectionString&amp;gt;&lt;/li&gt;&lt;li&gt;&amp;lt;udc:Authentication&amp;gt;&amp;lt;udc:SSO AppId=&amp;#39;SSOAppID&amp;#39; CredentialType=&amp;#39;SQL&amp;#39; /&amp;gt;&amp;lt;/udc:Authentication&amp;gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Secure Store Target Application is set up to use Group, Username, Password settings. SQL Credentials are set for this Target application&lt;/li&gt;&lt;li&gt;Form is published as browser-based&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;In both the Event Log and SP Trace Log I receive an error: &lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Type: DataAdapterException, Exception Message: The form cannot connect to the data source.Invalid authorization specification)&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;If I were to replace the &amp;lt;udc:SSO ... /&amp;gt; parameter with the below authentication method or embed the authentication (User ID=xxx;Password=xxx;)into the connection string, it works.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;udc:UseExplicit CredentialType=&amp;quot;Sql&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;udc:UserId&amp;gt;SQLUserID&amp;lt;/udc:UserId&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;udc:Password&amp;gt;SQLPW&amp;lt;/udc:Password&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/udc:UseExplicit&amp;gt;&lt;/p&gt;&lt;p&gt;It also works if I remove qRules and all code from the form, while leaving the authentication method as udc:SSO.&lt;/p&gt;&lt;p&gt;Thank you for any help you can provide.&lt;/p&gt;</description></item></channel></rss>