<?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: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50918.aspx</link><pubDate>Fri, 22 Jan 2010 15:01:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50918</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50918</wfw:commentRss><description>&lt;p&gt;I am not sure if this matters but I am publishing the form to MOSS 2007 as a content type. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50915.aspx</link><pubDate>Fri, 22 Jan 2010 13:54:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50915</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50915.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50915</wfw:commentRss><description>&lt;p&gt;Hmmm. It is odd, I followed the same steps with a simple table for testing, and do not get an error, even if I don&amp;#39;t have my form set to update. It sounds like you have a work-around (manually modify the existing XML), but I hope you don&amp;#39;t have too many existing forms that have to be updated. &lt;/p&gt;
&lt;p&gt;One thing you could check would be the max version to upgrade in the manifest.xsf file. Save your form as source files, and open manifest.xsf in a text editor. Make a note of the current version number:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xsf:xDocumentClass trustSetting=&amp;quot;automatic&amp;quot; solutionFormatVersion=&amp;quot;2.0.0.0&amp;quot; dataFormSolution=&amp;quot;yes&amp;quot; solutionVersion=&amp;quot;&lt;strong&gt;1.0.0.5&lt;/strong&gt;&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Then, toward the bottom of the file, look to make sure your max version is correct:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;xsf:documentVersionUpgrade&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xsf:useTransform transform=&amp;quot;upgrade.xsl&amp;quot; minVersionToUpgrade=&amp;quot;0.0.0.0&amp;quot; &lt;strong&gt;maxVersionToUpgrade&lt;/strong&gt;=&amp;quot;1.0.0.5&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/xsf:useTransform&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;However, as I mentioned, when I tested locally, even if my template is not set to upgrade, I cannot reproduce this issue....&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50913.aspx</link><pubDate>Fri, 22 Jan 2010 13:10:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50913</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50913.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50913</wfw:commentRss><description>&lt;p&gt;Hilary, I really appreciate the offer (as well as all of your advice), however, I am sure I cannot post the template and xml forms due to their sensitive nature.&lt;/p&gt;
&lt;p&gt;I was however able to replicate the issue with the simple template I created so it does not look like this scenario is specific to my one template.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;I connected the template to my SQL table and unchecked one of the columns in the &amp;quot;Data Source Structure.&amp;quot; &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I dragged some controls onto the form and added a button to submit to the main data source.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I then published the template and created and submitted&amp;nbsp;a form to SQL.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I went back into the design template and modified the data connection to check the column that was unchecked in step 1.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I re-published the form(with forms set to automatically update).&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;I opened the form I previously created in step 3&amp;nbsp;to try and make an update and submit the change, but I get the&amp;nbsp;&amp;quot;Unspecified Error&amp;quot; &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If I go into the XML and add the string I posted previously, the form submits the change&amp;nbsp;OK. If I go and modify the template again to uncheck the column, I get schema validation errors when I re-open the form.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50905.aspx</link><pubDate>Fri, 22 Jan 2010 04:24:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50905</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50905.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50905</wfw:commentRss><description>&lt;p&gt;If it isn&amp;#39;t propriatary, can I see: &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;the template&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;an xml created from the old template&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;an xml create from the current template&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;If not, I understand, not everyone is building stuff they can post publically. If you can, there is a field under the Options tab where you can attach a file or zip folder.&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50780.aspx</link><pubDate>Wed, 20 Jan 2010 12:47:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50780</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50780</wfw:commentRss><description>&lt;p&gt;Yes, the form is set to upgrade automatically, however, I think that is my problem. The form has the new field listed in the &amp;lt;dfs:queryFields&amp;gt; and &amp;lt;dfs:dataFields&amp;gt;, but it is missing the string below. I am guessing this is because the form data had already been submitted to the database prior to the upgrade with the new column.&lt;/p&gt;
&lt;p&gt;&amp;lt;s:AttributeType rs:number=&amp;quot;29&amp;quot; rs:nullable=&amp;quot;true&amp;quot; rs:writeunknown=&amp;quot;true&amp;quot; rs:basecatalog=&amp;quot;&lt;strong&gt;Database&lt;/strong&gt;&amp;quot; rs:baseschema=&amp;quot;&lt;strong&gt;dbo&lt;/strong&gt;&amp;quot; rs:basetable=&amp;quot;&lt;strong&gt;Table&lt;/strong&gt;&amp;quot; rs:basecolumn=&amp;quot;&lt;strong&gt;Column&lt;/strong&gt;&amp;quot; name=&amp;quot;&lt;strong&gt;Column&lt;/strong&gt;&amp;quot;&amp;gt;&amp;lt;s:datatype dt:type=&amp;quot;int&amp;quot; dt:maxLength=&amp;quot;4&amp;quot; rs:precision=&amp;quot;10&amp;quot; rs:fixedlength=&amp;quot;true&amp;quot;/&amp;gt;&amp;lt;/s:AttributeType&amp;gt;&lt;/p&gt;
&lt;p&gt;As soon as I insert this string into the XML the form submits fine. I tried removing the column from the form by deselecting it in the data source, but then when I push out the update, I get schema validation errors since it looks like the column stays in the &amp;lt;dfs:queryFields&amp;gt; and &amp;lt;dfs:dataFields&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50759.aspx</link><pubDate>Tue, 19 Jan 2010 22:22:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50759</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50759</wfw:commentRss><description>&lt;p&gt;Is your form template set to update existing xml? Under Tools / Form Options / Versioning you can set the template to automatically upgrade existing xml. That way when you open the xml file with the new template, it will get new fields....&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50751.aspx</link><pubDate>Tue, 19 Jan 2010 20:38:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50751</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50751</wfw:commentRss><description>&lt;p&gt;Well, after doing a lot of squinting at XML, I was finally able to find the culprit.&lt;/p&gt;
&lt;p&gt;A column was added to one of the tables after my form had already submitted to the database. The form template was updated to reflect this new column, however, on the form that had been submitted, the following line was missing for the new column:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;s:AttributeType rs:number=&amp;quot;29&amp;quot; rs:nullable=&amp;quot;true&amp;quot; rs:writeunknown=&amp;quot;true&amp;quot; rs:basecatalog=&amp;quot;&lt;strong&gt;Database&lt;/strong&gt;&amp;quot; rs:baseschema=&amp;quot;&lt;strong&gt;dbo&lt;/strong&gt;&amp;quot; rs:basetable=&amp;quot;&lt;strong&gt;Table_Name&lt;/strong&gt;&amp;quot; rs:basecolumn=&amp;quot;&lt;strong&gt;columnName&lt;/strong&gt;&amp;quot; name=&amp;quot;&lt;strong&gt;columnName&lt;/strong&gt;&amp;quot;&amp;gt;&amp;lt;s:datatype dt:type=&amp;quot;int&amp;quot; dt:maxLength=&amp;quot;4&amp;quot; rs:precision=&amp;quot;10&amp;quot; rs:fixedlength=&amp;quot;true&amp;quot;/&amp;gt;&amp;lt;/s:AttributeType&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there an easy way I can remedy this situation outside of modifying each form that is missing this line in the XML??&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50747.aspx</link><pubDate>Tue, 19 Jan 2010 17:09:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50747</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50747.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50747</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;Yes, I was able to create a simple template that just&amp;nbsp;submits to that one table and it worked flawlessly. The trigger was working as expected as well. I am still experiencing this same problem and am unable to submit any changes to this one table. I tried it on different machines and still have the same result.&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50541.aspx</link><pubDate>Wed, 13 Jan 2010 02:13:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50541</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50541.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50541</wfw:commentRss><description>&lt;p&gt;I guess, just to continue down the path of troubleshooting, have you tried to create a new (simple) form off the same data table? See what happens with a new template? What about different machines? Same issue on all machines?&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50491.aspx</link><pubDate>Mon, 11 Jan 2010 13:18:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50491</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50491</wfw:commentRss><description>&lt;p&gt;Just tried disabling the trigger on the table and it still has the same unspecified error. Any update to all the other tables works fine though. I am just completely lost with this now.&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50466.aspx</link><pubDate>Fri, 08 Jan 2010 21:36:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50466</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50466</wfw:commentRss><description>&lt;p&gt;I have had trouble in the past with a trigger on a table IP submits to. Temporarily remove the trigger and see what happens....&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50445.aspx</link><pubDate>Fri, 08 Jan 2010 16:05:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50445</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50445</wfw:commentRss><description>So I just looked at the XML in notepad and I noticed that the table and its values are listed twice. Once at the top and once at the bottom. The values at the top reflect the changes that I made, whereas the values on the bottom reflect the values before the changes. Is this normal??</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50438.aspx</link><pubDate>Fri, 08 Jan 2010 12:36:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50438</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50438</wfw:commentRss><description>&lt;p&gt;There are a total of 8 tables, but I confined the issue to just one of them by attempting to update the values in all&amp;nbsp;of the&amp;nbsp;tables.&lt;/p&gt;
&lt;p&gt;The only thing special about&amp;nbsp;this one table is that&amp;nbsp;there is a database trigger in SQL that copies the existing row of data when an update is made and inputs it back into the table. I did an update in SQL to this same row of data I was&amp;nbsp;trying to update through InfoPath and&amp;nbsp;it worked just fine. Not sure how else to troubleshoot this as the error is very vague. Any help is greatly appreciated!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50415.aspx</link><pubDate>Thu, 07 Jan 2010 23:21:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50415</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50415.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50415</wfw:commentRss><description>&lt;p&gt;What an annoying error! While I can&amp;#39;t tell you what it means, I would suggest trying to create a new form, just quick and dirty, that also submits to the same table, and see if it works correctly. That may help you start deciphering the issue.&lt;/p&gt;
&lt;p&gt;Is the main data source complex? Or just a single table?&lt;/p&gt;</description></item><item><title>Unspecified Error when submitting</title><link>https://www.infopathdev.com:443/forums/thread/50353.aspx</link><pubDate>Wed, 06 Jan 2010 16:36:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50353</guid><dc:creator>geoffc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50353</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;
&lt;p&gt;I am getting this error when I am trying to make an update to a value on my form which is connected to SQL. As you can see, it isn&amp;#39;t very helpful. Is there anything specific this error is related to?&lt;/p&gt;
&lt;p&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;Unspecified error&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>