<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118363.aspx</link><pubDate>Wed, 14 Feb 2018 16:37:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118363</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118363.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118363</wfw:commentRss><description>Hey, that&amp;#39;s great news! Glad that fixed it.</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118361.aspx</link><pubDate>Wed, 14 Feb 2018 10:03:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118361</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118361</wfw:commentRss><description>It really helped and forms started to load multiple times faster. Thank you, Hilary!</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118358.aspx</link><pubDate>Tue, 13 Feb 2018 23:45:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118358</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118358</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In your repeating table, where you currently have your text boxes bound to the fields with the defaults, put a calculated value instead. For the XPath for the calculated value, use the formula editor to select the secondary data source &amp;amp; add the same filtering. XPath will look something like this (for example): xdXDocument:GetDOM(&amp;quot;Countries for Business Trip&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:_x0554__x0561__x0572__x0561__x05[../d:City = current()/my:ActualPerDiemCity]&lt;/p&gt;&lt;p&gt;It is actually very similar to the default values you currently have! Just remove &amp;quot;../&amp;quot; between current() and the field name. :)&lt;/p&gt;</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118357.aspx</link><pubDate>Tue, 13 Feb 2018 19:54:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118357</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118357</wfw:commentRss><description>Can you please tell me how I can add expression box for each row of repeating table and filter values for each row with corresponding field from the same row?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118356.aspx</link><pubDate>Tue, 13 Feb 2018 17:16:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118356</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118356</wfw:commentRss><description>I don&amp;#39;t see anything in the form - as you said, there aren&amp;#39;t any rules or other defaults that use these values. So - what happens if instead of having defaults in these fields, you just use an expression box to display the info from the secondary data source? Do you still get an error with that approach?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118353.aspx</link><pubDate>Tue, 13 Feb 2018 16:33:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118353</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118353.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118353</wfw:commentRss><description>Actually I changed form yesterday. &amp;quot;View Report&amp;quot; button was set to run rule, that is now under QdabraRules -&amp;gt; finishedLoading: &amp;quot;Query Countries if ActualCostsStatus is Paid&amp;quot;. This rule runs 2 queries and especially &amp;quot;Countries for Business Trip&amp;quot; query is causing this issue. If I don&amp;#39;t run this query, &amp;quot;CostCountryArm_BT&amp;quot;, &amp;quot;CostCityArm_BT&amp;quot;, &amp;quot;ActualPerDiemCountryArm_BT&amp;quot; and &amp;quot;ActualPerDiemCityArm_BT&amp;quot; fields will not be updated. These queries run only, if entire form is filled already and users just need to view report on another view. Forms, where &amp;quot;ActualCostsRepeating&amp;quot; table contains up to 4 rows, open normally. If it contains 6 rows, I receive error.</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118351.aspx</link><pubDate>Tue, 13 Feb 2018 16:14:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118351</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118351.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118351</wfw:commentRss><description>Which button causes the issue?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118350.aspx</link><pubDate>Tue, 13 Feb 2018 15:53:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118350</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118350.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118350</wfw:commentRss><description>I&amp;#39;ve sent you by private message. Thanks.</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118344.aspx</link><pubDate>Tue, 13 Feb 2018 15:35:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118344</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118344</wfw:commentRss><description>I&amp;#39;d be happy to take a look at your form, see if I can see something. If it were my form, I&amp;#39;d try to repro the issue in a test form - does it persist if the form doesn&amp;#39;t have code (or qRules)?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118341.aspx</link><pubDate>Mon, 12 Feb 2018 19:16:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118341</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118341</wfw:commentRss><description>I tried all possible scenarios, but no luck. If I remove query rule, form loads without issues, but in this case I don&amp;#39;t get needed data. If I uncheck &amp;quot;Refresh value if formula is recalculated&amp;quot; checkbox from 4 fields default values, then also forms work, but in this case these fields don&amp;#39;t get data again. There are no rules on these default values.</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118339.aspx</link><pubDate>Mon, 12 Feb 2018 16:50:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118339</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118339</wfw:commentRss><description>My guess would be something in your rules / defaults is causing a loop that wasn&amp;#39;t getting caught in 2013 but is in 2016. Do the fields with default values that are getting updated have rules on them?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118337.aspx</link><pubDate>Mon, 12 Feb 2018 16:34:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118337</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118337</wfw:commentRss><description>I&amp;#39;d like to mention, that I&amp;#39;ve 9 repeating fields in my form, that are getting default values from data connections filtered by another fields in form. So when switching view, I need to query 2 data connections, so these fields data will get updated.
If my form contains 3-4 repeating table rows, it successfully switches view, but if rows are more, I get this issue.</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118336.aspx</link><pubDate>Mon, 12 Feb 2018 16:28:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118336</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118336.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118336</wfw:commentRss><description>I&amp;#39;ve already checked this. It does query from a list, that contains about 2000 rows. In this case I need to query all rows without any limitation. When I disable this query, form has no issues. The same query is running successfully on SP 2013.In logs I receive multiple &amp;quot;RequestUsageProvider.WriteUsageData: Logging usage for Location: &amp;#39;CalculatedField&amp;#39;. Operation: &amp;#39;Calculate&amp;#39;.  ... &amp;quot; , &amp;quot;RequestUsageProvider.WriteUsageData: Writing log usage failed&amp;quot; messages, then the following error: &amp;quot;Calculations exceeded the maximum stack depth. (User: 30000, Form Name: urn:schemas-microsoft-com:office:infopath:Business-Trip-Request-Template:-myXSD-2014-01-08T23-55-55,  ...... &amp;quot; .</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118335.aspx</link><pubDate>Mon, 12 Feb 2018 16:09:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118335</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118335.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118335</wfw:commentRss><description>I&amp;#39;d probably see if one specific query was causing the issue by disabling all rules on the button and re-enabling one at at time. Do you get any additional messages in your logs when the error occurs?</description></item><item><title>Re: Error loading form code assembly</title><link>https://www.infopathdev.com:443/forums/thread/118334.aspx</link><pubDate>Mon, 12 Feb 2018 16:06:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118334</guid><dc:creator>Arthur.Avanesyan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118334.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=118334</wfw:commentRss><description>Here are InfoPath Forms Services settings from SharePoint 2013 &amp;quot;DefaultDataConnectionTimeout : 10000
MemoryCacheSize : 250
MaxDataConnectionTimeout : 20000
MaxDataConnectionResponseSize : 1500
MaxDataConnectionRoundTrip : 20000
MaxFormLoadTime : 40000
RequireSslForDataConnections : True
AllowEmbeddedSqlForDataConnections : True
AllowUdcAuthenticationForDataConnections : True
AllowUserFormCrossDomainDataConnections : True
AllowUserFormBrowserEnabling : True
MaxSizeOfFormSessionState : 41943040
MaxSizeOfUserFormState : 41943040
MaxPostbacksPerSession : 75
MaxUserActionsPerPostback : 200
ActiveSessionsTimeout : 1440
AllowUserFormBrowserRendering : True
AllowViewState : False
ViewStateThreshold : 40960
DataConnectionFiles : {}
ExemptUserAgents : {crawler, googlebot, ms search, msnbot...}
Instances : {}
Applications : {}
Required : False
JobDefinitions : {}
RunningJobs : {}
JobHistoryEntries : {}
CanUpgrade : True
IsBackwardsCompatible : True
NeedsUpgradeIncludeChildren : False
NeedsUpgrade : False
UpgradeContext : Microsoft.SharePoint.Upgrade.SPUpgradeContext
Version : 10814975
Properties : {}
UpgradedPersistedProperties : {}
CanBackupRestoreAsConfiguration : True
CanSelectForBackup : True
DiskSizeRequired : 0
CanSelectForRestore : True
CanRenameOnRestore : False&amp;quot;.                                                         
I copied all settings one by one to SharePoint 2016, but this didn&amp;#39;t help.
After this I even increased all numeric values in SP 2016 like this: 
&amp;quot;DefaultDataConnectionTimeout : 100000
MemoryCacheSize : 250
MaxDataConnectionTimeout : 200000
MaxDataConnectionResponseSize : 15000
MaxDataConnectionRoundTrip : 200000
MaxFormLoadTime : 40000
MaxPostbacksPerSession : 7500
MaxUserActionsPerPostback : 20000&amp;quot;                                                                     
But this also didn&amp;#39;t help.                                                                                                  
If I set &amp;quot;Properties.Add(“AllowEventPropagation”, $false)&amp;quot;, then form can switch view successfully, but it doesn&amp;#39;t do queries, so data is not updating on that view.</description></item></channel></rss>