<?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: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80779.aspx</link><pubDate>Thu, 19 Jul 2012 16:14:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80779</guid><dc:creator>preimer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80779</wfw:commentRss><description>I have had a chance to try out the script that was posted by Jim and it remedied the problem.  As you mentioned, we are considering going with an admin-approved deployment given the nature of the script but for the moment, the script will allow us to continue working.

Thank-you both Hilary and Jim.</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80759.aspx</link><pubDate>Thu, 19 Jul 2012 00:01:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80759</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80759.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80759</wfw:commentRss><description>&lt;p&gt;I asked Jim to chime in, because I thought we &lt;em&gt;had&lt;/em&gt; seen this before - as you saw with testing, the issue is with resources for the Sandbox being exceeded when the form is published, whether with qRules or with code. &lt;/p&gt;
&lt;p&gt;You may want to try admin approving the form. If that isn&amp;#39;t possible in your environment, Jim has also posted a script that will increase these resources - but you&amp;#39;d need an admin to take care of that as well (at which point, perhaps admin approving the form will be a viable option).&lt;/p&gt;</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80756.aspx</link><pubDate>Wed, 18 Jul 2012 23:30:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80756</guid><dc:creator>preimer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80756.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80756</wfw:commentRss><description>I apologize for not being clear previously.  The answer &amp;quot;yes&amp;quot; applies to both of the previous questions that you asked.  

(Do you have other forms with qRules published as Sandboxed browser forms? If you take a new, blank form and inject with qRules does it Sandbox?)

I just tried your suggestion of taking a form that has a problem with qRules, removed qRules from the form, added an empty code-based &amp;quot;form loading event&amp;quot; and tried to deploy.  It appears that the deployment failed in exactly the same way as with qRules injected.</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80755.aspx</link><pubDate>Wed, 18 Jul 2012 23:16:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80755</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80755.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80755</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;There&amp;nbsp;is often a combination of limits that prevent publishing forms in the sandbox.&amp;nbsp; While only 10% of the publishing time may be related to the code, the time required to process the views contained in the xsn contribute to the overall overhead.&amp;nbsp; So forms with more views may see this problem with a minimal amount of code.&amp;nbsp;&amp;nbsp; The only way to work around this is to reduce the number of views, or increase the sandbox limits.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;Below is one script to increase the values, the second to restore
back to default levels after publishing.&amp;nbsp; &lt;/span&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&lt;span style="font-size:11pt;"&gt;The “SharePoint 2010 User Code Host”service needs to be restarted after running the script.&amp;nbsp; The script only needs to be run once, but the &amp;quot;SharePoint 2010 User Code Host&amp;quot; service must be restarted on all servers in the farm where the service is running.&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman"&gt;&lt;font size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="background:yellow;font-size:11pt;"&gt;This numbers are probably overkill, but we
went over what we expected it to need to successfully publish&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
THESE LIMITS SHOULD ALLOW TO PUBLISH YOUR FORM&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService
= [Microsoft.SharePoint.Administration.SPUserCodeService]::Local&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu
= $spCodeService.ResourceMeasures[&amp;quot;CPUExecutionTime&amp;quot;]&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
NOTE THE VALUE BEFORE THE UPDATE TO RESET LATER&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu.AbsoluteLimit&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu.AbsoluteLimit
= 600&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles
= $spCodeService.ResourceMeasures[&amp;quot;ProcessCPUCycles&amp;quot;]&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
NOTE THE VALUE BEFORE THE UPDATE TO RESET LATER&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles.AbsoluteLimit
&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles.AbsoluteLimit
= 2000000000000&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
NOTE THE VALUE BEFORE THE UPDATE TO RESET LATER&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService.WorkerProcessExecutionTimeout&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService.WorkerProcessExecutionTimeout
= 600&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
&amp;quot;SharePoint 2010 User Code Host&amp;quot; must be restarted in the services
applet&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="background:yellow;font-size:11pt;"&gt;After publishing, run this script&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
RESET LIMITS TO DESIRED DEFAULTS&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService
= [Microsoft.SharePoint.Administration.SPUserCodeService]::Local&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu
= $spCodeService.ResourceMeasures[&amp;quot;CPUExecutionTime&amp;quot;]&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
RESET CPUExecutionTime to normal running level (60 is SharePoint default) &lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu.AbsoluteLimit
= 60&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cpu.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles
= $spCodeService.ResourceMeasures[&amp;quot;ProcessCPUCycles&amp;quot;]&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
RESET ProcessCPUCycles to normal running level (100000000000 is SharePoint default)
&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles.AbsoluteLimit
= 100000000000&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$cycles.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
RESET WorkerProcessExecutionTimeout to normal running level (30 is SharePoint
default) &lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService.WorkerProcessExecutionTimeout
= 30&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;$spCodeService.Update()&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#
&amp;quot;SharePoint 2010 User Code Host&amp;quot; must be restarted in the services
applet&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span style="font-size:11pt;"&gt;#&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="font-size:11pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-size:11pt;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80751.aspx</link><pubDate>Wed, 18 Jul 2012 22:57:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80751</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80751</wfw:commentRss><description>&lt;p&gt;So, was the &amp;quot;yes&amp;quot; answer to both of my questions? You can sandbox other forms with code or qRules, but you can&amp;#39;t sandbox large forms with qRules / code.&lt;/p&gt;
&lt;p&gt;I think it would be good to take a copy of a&amp;nbsp;form that won&amp;#39;t sandbox with qRules in it and add custom code - see if it will sandbox then. Just go to the Developer tab and add a loading event and see what happens.&lt;/p&gt;</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80749.aspx</link><pubDate>Wed, 18 Jul 2012 22:43:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80749</guid><dc:creator>preimer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80749.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80749</wfw:commentRss><description>Yes.  From looking at the logs, it does appear that once qRules is injected, the form is considered to be a Sandbox form.  I just tried it with a new blank form and injected qRules.  

We are starting to notice the problem with some of our other forms now.  There seems to be some correlation between the size of the form and the frequency of deployment failures.

As our forms get larger in size and more complex we start to see the issue.  The file size where the problem starts to occur intermittently is around 170-180Kb.  When the size of the file is around that size, the deployments fail every once in a while.  As they get larger, they fail more often, until eventually the deployment fails every time.

Paul</description></item><item><title>Re: Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80748.aspx</link><pubDate>Wed, 18 Jul 2012 22:14:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80748</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80748.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80748</wfw:commentRss><description>&lt;p&gt;Hi - &lt;/p&gt;
&lt;p&gt;So you know, if the form does not have code in it when you publish it, it won&amp;#39;t be going into the Sandbox. No need, since there is no code.&lt;/p&gt;
&lt;p&gt;Do you have other forms with qRules published as Sandboxed browser forms? If you take a new, blank form and inject with qRules does it Sandbox?&lt;/p&gt;</description></item><item><title>Injecting qRules causes errors when trying to publish a browser enabled form to SharePoint</title><link>https://www.infopathdev.com:443/forums/thread/80747.aspx</link><pubDate>Wed, 18 Jul 2012 21:58:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80747</guid><dc:creator>preimer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80747.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=80747</wfw:commentRss><description>We are running into an interesting issue when trying to deploy an InfoPath 2010 browser enabled form to a SharePoint 2010 form library.  When we perform a Sandbox deployment of the form without qRules inject, the deployment goes as expected.  Once qRules is injected and the form is redeployed, the deployment fails and produces an error message with a message indicating that &amp;quot;there was a problem with the deployment and the form can only be opened using InfoPath Filler&amp;quot;.  

At this point the form is not making use of any qRules functionality.  It has only been injected.  Other similar browser enabled forms with qRules injected do not produce this behaviour.

When we looked in the SharePoint ULS logs we found the following error(s):

-  - The worker process executing this request was killed because it exceeded the resource ProcessCPUCycles. - userCodeWrapperType.FullName = &amp;quot;Microsoft.Office.InfoPath.Server.Host.FormServerUserCodeWrapper&amp;quot;, userAssemblyGroup = &amp;quot;.UserCodeAssemblyGroupId = &amp;quot;, GroupId = &amp;quot;6ED9B8C4235B46E09EAE91625BD5AFAF-YAjVK7TlRPUvYr43ZSYCuyjT5WdU8uGR+k4u9DPg+jg=&amp;quot;&amp;quot;, .RootDirectoryPath = &amp;quot;C:\ProgramData\Microsoft\SharePoint\UCCache\8CF32E47E5D68C7\6ED9B8C4235B46E09EAE91625BD5AFAF%2DYAjVK7TlRPUvYr43ZSYCuyjT5WdU8uGR%2Bk4u9DPg%2Bjg%3D-2&amp;quot;&amp;quot;, siteCollectionId = a3af6549-3f23-46d1-80f4-4d50d773ad18, executionContext = &amp;quot;Microsoft.Office.InfoPath.Server.DocumentLifetime.RemoteConversionContext

We have upped the settings for the SharePoint 2010 Sandboxed Code Host process, but this has had no effect.

Any ideas on what we can do to resolve this issue?  Does the size and/or complexity of the form in question with qRules injected have an impact on Sandboxed form deployment?

Thanks,
Paul</description></item></channel></rss>