<?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: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70296.aspx</link><pubDate>Wed, 14 Sep 2011 17:07:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70296</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70296</wfw:commentRss><description>It  does give me the password/trusted connection dialog box twice...is there something I can do to make that stop?</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70288.aspx</link><pubDate>Wed, 14 Sep 2011 15:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70288</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70288</wfw:commentRss><description>Under &amp;quot;User Mapping,&amp;quot; I added read/write permissions for him for that DB.  I&amp;#39;m waiting on him to test it, but I bet that&amp;#39;ll work.  I can&amp;#39;t believe it was something so simple.
&lt;p&gt;
Thanks for your time and speedy responses, Jimmy!</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70287.aspx</link><pubDate>Wed, 14 Sep 2011 15:03:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70287</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70287</wfw:commentRss><description>Just found the difference in our permission setups, and it&amp;#39;s fairly huge.  I&amp;#39;ve got the sysadmin role checked, and he doesn&amp;#39;t.  I don&amp;#39;t want to give him a bunch of access over everything; I just want him to be able to fill out forms and read finished forms.  Is there a specific place to do that?</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70285.aspx</link><pubDate>Wed, 14 Sep 2011 14:21:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70285</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70285</wfw:commentRss><description>Under &amp;quot;Status&amp;quot; in SQL Server, under &amp;quot;Permission to connect to database engine,&amp;quot; &amp;quot;Grant&amp;quot; is selected, and under &amp;quot;Login,&amp;quot; &amp;quot;Enabled&amp;quot; is selected.  He is also mapped to the database in question, with a dbo schema.  I did go through all the options that can be seen under Properties when he was first set up...unless there&amp;#39;s another menu somewhere with other stuff I have to check.</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70283.aspx</link><pubDate>Wed, 14 Sep 2011 14:17:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70283</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70283.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70283</wfw:commentRss><description>&lt;p&gt;Yes, it is different.&amp;nbsp; Once the login is created, you have to grant it permissions and roles before it will have any.&lt;/p&gt;</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70282.aspx</link><pubDate>Wed, 14 Sep 2011 14:09:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70282</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70282</wfw:commentRss><description>Is that different from just adding a login under Security on SQL Server?  He&amp;#39;s set to have the same permissions as I have.</description></item><item><title>Re: Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70281.aspx</link><pubDate>Wed, 14 Sep 2011 13:55:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70281</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70281</wfw:commentRss><description>&lt;p&gt;It looks like your user doesn&amp;#39;t have the necessary database permissions on SQL Server.&amp;nbsp; Have you looked into that angle?&lt;/p&gt;</description></item><item><title>Series of errors with user trying to open form through SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/70279.aspx</link><pubDate>Wed, 14 Sep 2011 13:22:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70279</guid><dc:creator>Rae</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=70279</wfw:commentRss><description>Hello!
&lt;p&gt;
I have a problem.
&lt;p&gt;
I have created a form in InfoPath 2003, and it queries from two SQL tables that have a one-to-many relationship.  We&amp;#39;re using Microsoft SQL Server 2005.  After a form is filled out, it can be submitted to SharePoint WSS 2007.
&lt;p&gt;
In trying to solve the &amp;quot;plain text file&amp;quot; password problem, we decided to try using Windows Authentication, since all our users are on the intranet.  I have a login for myself set up on MS SQL Server, and when I use it to open a form in SharePoint, it works fine.
&lt;p&gt;
I added another user, with the same settings (I think), and he also tried to open the form from SharePoint.  He got the usual password/trusted connection dialog box, and it gave him an error.  When he hit &amp;quot;OK,&amp;quot; it gave him the same box, and then the form came up but most of the data was missing.  The available data was from my testPoints table, the &amp;quot;many&amp;quot; side of the one-to-many relationship.
&lt;p&gt;
I am willing to try something else to deal with the password problem, or even store the password in plain text if there&amp;#39;s not actually any way for the users to access that file&amp;#39;s contents.  I am also trying to avoid any custom code if remotely possible.
&lt;p&gt;
The error is here:
&lt;p&gt;
&lt;blockquote&gt;
InfoPath cannot open the following file: Form%20Name%20-%202011-09-13T13_40_19.xml.&lt;br /&gt;
InfoPath cannot open the form. To fix this problem, contact your system administrator.&lt;br /&gt;
Form template: http://intrashpt/formName/Form%20Name/Forms/template.xsn&lt;br /&gt;
The following DataObject either cannot be created or cannot be initialized: testMatrix The query cannot be run for the following DataObject: testMatrix InfoPath cannot run the specified query.&lt;br /&gt;
[0x80040E09][Microsoft OLE DB Provider for SQL Server] SELECT permission denied on object &amp;#39;testPoints&amp;#39;, database &amp;#39;FormTestPlan&amp;#39;, schema &amp;#39;dbo&amp;#39;.&lt;br /&gt;
[0x80040E14][Microsoft OLE DB Provider for SQL Server] Deferred prepare could not be completed.&lt;br /&gt;
&lt;/blockquote&gt;
&lt;p&gt;
testMatrix is &amp;quot;one&amp;quot; and testPoints is &amp;quot;many&amp;quot; in the one-to-many relationship, if that&amp;#39;s relevant.  Thanks.</description></item></channel></rss>