<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SQL query error</title><link>https://www.infopathdev.com:443/forums/thread/24976.aspx</link><pubDate>Fri, 07 Dec 2007 00:19:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24976</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24976</wfw:commentRss><description>&lt;p&gt;Strange... sounds like some issue more with the backend, but it could be InfoPath (just doesn&amp;#39;t seem like it).&lt;/p&gt;
&lt;p&gt;Maybe try setting up a SPROC and calling that instead of directly running a SQL command. Maybe that will solve the prolem.&lt;/p&gt;
&lt;p&gt;Outside that, I don&amp;#39;t know.&lt;/p&gt;</description></item><item><title>Re: SQL query error</title><link>https://www.infopathdev.com:443/forums/thread/24953.aspx</link><pubDate>Thu, 06 Dec 2007 06:51:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24953</guid><dc:creator>Meandor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24953</wfw:commentRss><description>&lt;p&gt;Yes, the Command property is ok and strNewStatus and intHolydayNr are valid values. In 99% of the Query&amp;#39;s it works. But when a couple of persons will send Query&amp;#39;s to the SQL-Server, this error comes more often. Also I have try/catch in my script which catch any other error, but this error isn&amp;#39;t caught. Infopath began to flicker and after 2 till 3 minutes it shows a error-prompt with owerflow. No errorprompt from my catch-exception.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SQL query error</title><link>https://www.infopathdev.com:443/forums/thread/24929.aspx</link><pubDate>Wed, 05 Dec 2007 17:37:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24929</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24929</wfw:commentRss><description>&lt;p&gt;Have you used the debugger on this to verify that the Command property contains what you expect it to before running the Query()? You&amp;#39;ll want to verify that strNewStatus and intHolydayNr are valid values and that the command string is being created properly.&lt;/p&gt;
&lt;p&gt;Also use a try/catch to see if there&amp;#39;s something else going on.&lt;/p&gt;</description></item><item><title>SQL query error</title><link>https://www.infopathdev.com:443/forums/thread/24923.aspx</link><pubDate>Wed, 05 Dec 2007 15:57:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24923</guid><dc:creator>Meandor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24923.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=24923</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a little problem with my Infopath-Form. &lt;/p&gt;&lt;p&gt;I create a SQL-Insert-Statement in jscript and after finishing I Query it. Usually the data is correctly stored in the DB. But sometimes, Infopath beginn to flicker and after a few Seconds it brings the error &amp;quot;Stackoverflow&amp;quot;. What is the reason for this error? I also can&amp;#39;t catch him.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Could please somebody help me. Thanks&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here the code:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;XDocument.DataObjects(&amp;quot;Send&amp;quot;).QueryAdapter.Command = 
					&amp;quot;SET NOCOUNT ON \n &amp;quot; +&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;update dbo.tblHolyday set intStatusNr = &amp;#39;&amp;quot; + strNewStatus + &amp;quot;&amp;#39; where intHolydayNr = &amp;#39;&amp;quot; + intHolydayNr + &amp;quot;&amp;#39; \n &amp;quot;+&amp;nbsp;&amp;nbsp;  &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;select intHolydayNr from dbo.tblHolyday as tblHolyday&amp;quot;;
			
			&lt;/p&gt;&lt;p&gt;XDocument.DataObjects(&amp;quot;Send&amp;quot;).Query(); &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>