<?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: Submit to "SQL Server" a digitally signed form</title><link>https://www.infopathdev.com:443/forums/thread/63080.aspx</link><pubDate>Wed, 12 Jan 2011 04:00:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:63080</guid><dc:creator>josera</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/63080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=63080</wfw:commentRss><description>&lt;p&gt;I think I found the reason why signed forms cannot be submitted to a &lt;strong&gt;database&lt;/strong&gt;. If you use &lt;strong&gt;Web services&lt;/strong&gt;, in one of the &lt;strong&gt;Data connection wizard&lt;/strong&gt; windows, there is a check box that reads:&lt;/p&gt;&lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;span style="FONT-FAMILY:Arial;FONT-SIZE:14pt;"&gt;&lt;em&gt;Submit data as string. Note: Digitally signed data must be submitted as a string to preserve white spaces.&lt;/em&gt;&lt;/span&gt;&lt;/b&gt; 
&lt;p&gt;This means that during the submit process white spaces are removed and then the digital signature hash of the file will not match. Probably, this is what happens during the DB submit too.&lt;/p&gt;
&lt;p&gt;Even though there is a solution from Infopath for Web services submit, I could not find any solution for DB submit.&lt;/p&gt;
&lt;p&gt;Has anyone found how to submit a signed form to a DB with a direct Infopath solution or with any workaround?&lt;/p&gt;
&lt;p&gt;Any help will be much appreciated.&lt;/p&gt;
&lt;p&gt;Josera&lt;font color="#231f20" size="3" face="Palatino-Roman"&gt;&lt;font color="#231f20" size="3" face="Palatino-Roman"&gt;&lt;font color="#231f20" size="3" face="Palatino-Roman"&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Submit to "SQL Server" a digitally signed form</title><link>https://www.infopathdev.com:443/forums/thread/62893.aspx</link><pubDate>Fri, 07 Jan 2011 12:35:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62893</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=62893</wfw:commentRss><description>&lt;p&gt;Hi Josera,&lt;/p&gt;
&lt;p&gt;Not sure. We built a Web Service to submit to databases and our Web Service (DBXL) supports signed forms just fine. My guess is that you are using a direct DB connection and that somehow changes during the submit process as a result of where your digisigs are located in the form. Random guess though ... &lt;/p&gt;
&lt;p&gt;Best of luck!&lt;/p&gt;</description></item><item><title>Submit to "SQL Server" a digitally signed form</title><link>https://www.infopathdev.com:443/forums/thread/62890.aspx</link><pubDate>Fri, 07 Jan 2011 10:16:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62890</guid><dc:creator>josera</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=62890</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I use Infopath 2007, VBScript and &amp;quot;SQL Server 2008&amp;quot;. My forms are digitally signed and at the end of the process they are saved and I also need its data to be stored in the database. The form contains the signature of three different people and when the third signature is done, the form is saved and then the data should be stored in the DB.&lt;br /&gt;&lt;br /&gt;The problem is that when I submit it, I get the error:&lt;br /&gt;&amp;quot;&lt;i&gt;This value has been digitally signed and cannot be changed&lt;/i&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;Of course I do not try to change anything, I just submit. I have been trying with different databases, different forms, different trust settings and basically everything that I could think of but If it signed I always get the same error. When there are no signatures, there are never problems to submit.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;If I only had one signature, I could first submit and then sign it and save it. But at the end of the process I already have the two previous signatures so there is no way to submit it.&lt;/p&gt;&lt;p&gt;Could somebody tell me if there is a way to submit  a signed form to &amp;quot;SQL Server&amp;quot;? Your help will be very much appreciated.&lt;/p&gt;&lt;p&gt;Josera &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>