<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Receiving an Unspecified Error when submitting to SQL Server from SharePoint (2010) but only after Form is reopened</title><link>https://www.infopathdev.com:443/forums/thread/72406.aspx</link><pubDate>Mon, 28 Nov 2011 16:52:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:72406</guid><dc:creator>DanDeHaven</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/72406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=72406</wfw:commentRss><description>&lt;p&gt;I created a Form Template library that holds forms that submit to SQL Server (2008 R2). I&amp;#39;m using InfoPath 2010 and SharePoint 2010. The forms submit fine with no errors&amp;nbsp;when they are initially created via the &amp;quot;New&amp;quot; button/process. But when any of the saved forms are reopened and a value changed, the Submit produces an Error:&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;InfoPath cannot submit the form.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;The OnSubmitRequest event handler did not work.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;InfoPath cannot submit the form.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;An error occurred while the form was being submitted.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;InfoPath cannot connect to the data source.&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;Unspecified error&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.MomExceptionHelper.ExecuteDataConnectionAction(XmlFormHost formHost, OMCall d)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.AdoSubmitConnectionHost.Execute()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at My_Form.FormCode.FormEvents_Submit(Object sender, SubmitEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.FormEventsHost.OnSubmit(DocReturnEvent pEvent)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Interop.InfoPath.SemiTrust._XDocumentEventSink2_SinkHelper.OnSubmitRequest(DocReturnEvent pEvent)&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The&amp;nbsp;forms are using&amp;nbsp;Data Connections that are saved to a Data Connection Library in the same SharePoint Site, they have been&amp;nbsp;converted to udcx files and have been approved.&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;The same forms will submit (Update) after being initially saved, if they are not saved to SharePoint, so I know it&amp;#39;s not the forms or Data Connections.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I&amp;#39;m sure this was working without error in the past and I&amp;#39;m not sure if there has been an update from Microsoft that would have caused this or if some other setting in SharePoint Admin would be the problem? I&amp;#39;m not our SharePoint Admin so I&amp;#39;m kinda at a loss. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;
&lt;p&gt;Thanks!!!&lt;/p&gt;</description></item></channel></rss>