<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Query Sql from infopath help</title><link>https://www.infopathdev.com:443/forums/thread/76102.aspx</link><pubDate>Mon, 05 Mar 2012 20:03:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76102</guid><dc:creator>BrunoAdv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=76102</wfw:commentRss><description>&lt;p&gt;Hello Hilary,&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tried using SSPI and also tried using a defined username and password and saved the userID and password to the UDCX, both ways work fine from the infopath application but do not work at all once i publish them to sharepoint and open the&amp;nbsp;form&amp;nbsp;in a browser. I will look into SSO, with sharepoint and SQL. If you know any good guides please let me know. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you for the reply.&lt;/p&gt;</description></item><item><title>Re: Query Sql from infopath help</title><link>https://www.infopathdev.com:443/forums/thread/76094.aspx</link><pubDate>Mon, 05 Mar 2012 16:15:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76094</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=76094</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s a tough one. You&amp;#39;d think if the issue was authentication, the error log would include that. Searching just on DB_E_ERRORSOCCURRED(0x80040E21), I see some results that indicate this may occur with Integrated Authentication - is that what your UDCX is using? I wonder if changing to SSO would help....&lt;/p&gt;</description></item><item><title>Query Sql from infopath help</title><link>https://www.infopathdev.com:443/forums/thread/76027.aspx</link><pubDate>Fri, 02 Mar 2012 17:57:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76027</guid><dc:creator>BrunoAdv</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76027.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=76027</wfw:commentRss><description>Hello, I have a infopath form that connects to a SQL database to pull data. I have a UDCX file on the sharepoint server and have gone as far as giving the form full Trust etc. The form works both locally and on the infopath client. Once published it only works on the client and not on the browser based version. I get the following errors: 

&amp;quot;An error occurred querying a data source. Click OK to resume filling out the form.&amp;quot; 

 I have looked at the logs following the correlation ID and get the following. 

&amp;quot;Data adapter failed during OnLoad: The database returns an error The following query failed: Data Followed by: Type: DataAdapterException, Exception Message: The database returns an error. No error message available, result code: DB_E_ERRORSOCCURRED(0x80040E21).)&amp;quot; 

Any help would be appreciated. Thank you</description></item></channel></rss>