<?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: InfoPath 2007 Form Submit to SQL Server Fails</title><link>https://www.infopathdev.com:443/forums/thread/56412.aspx</link><pubDate>Wed, 30 Jun 2010 19:45:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56412</guid><dc:creator>InfoJunkie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56412.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=56412</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Thanks for your reply Jo-Anne. To simplify the environment, I made up a simple Access database on my computer with one table and two fields. Then I made up an InfoPath form to work with it. When submitting a record I got the same “Access Denied” error. Searching the internet for a solution, it seems that changing the security (under form options) to full trust would fix this. So I tried it and was able to submit records to the Access database. Going back to my SQL Server InfoPath document, I changed the security to Full Trust and can submit the record. I can’t save the document with Full Trust selected because it won’t let me open it (needs a certificate??). So for now I have to switch each document to Full Trust&amp;nbsp;in order to&amp;nbsp;submit them.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;The document I’m creating has 5 pages with almost 700 fields – many check boxes. I completed the first page and can submit it (using Full Trust) with no problems. I added&amp;nbsp;the rest of the fields to the SQL Server table and worked on the second page. Trying to submit (using Full Trust) I am getting this error:&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Attribute &amp;#39;c307&amp;#39; is not allowed on element &amp;#39;{http://schemas.microsoft.com/office/infopath/2003/ado/dataFields}AdmissionRecords&amp;#39;, according to Schema.&lt;/font&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;So I’m wrestling with two problems in getting this document to work. I’d like to avoid the step that requires me to change the security setting for each submission, and this Attribute problem.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Do you have any suggestions?&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Thanks Jo-Anne.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: InfoPath 2007 Form Submit to SQL Server Fails</title><link>https://www.infopathdev.com:443/forums/thread/56269.aspx</link><pubDate>Tue, 29 Jun 2010 05:46:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56269</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=56269</wfw:commentRss><description>&lt;p&gt;Hi and welcome to our forums!&lt;/p&gt;
&lt;p&gt;Have you tried&amp;nbsp;using a different group account or individual access with select/write access to the database table? Also, is the database in the same domain? It could be a trust issue.&lt;/p&gt;</description></item><item><title>InfoPath 2007 Form Submit to SQL Server Fails</title><link>https://www.infopathdev.com:443/forums/thread/56132.aspx</link><pubDate>Wed, 23 Jun 2010 00:42:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56132</guid><dc:creator>InfoJunkie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56132.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=56132</wfw:commentRss><description>&lt;p&gt;I created a test database on my SQL server. It has one table with two fields - a &amp;quot;unique record ID&amp;quot; and a field called &amp;quot;Name&amp;quot;. Then I setup a new InfoPath form based on the database. It does allow the Submit option. I dragged the name field to my form, previewed the form, entered a name and tried to submit it. It failed giving me this error message:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;InfoPath cannot connect to the data source.&lt;br /&gt;Access is denied.&lt;br /&gt;Access is denied.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I log in to the SQL server with SQL Server Authentication using the administrator&amp;#39;s ID and Password. As best I can tell the connection is working fine. What should I look for to solve this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>