<?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: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/99024.aspx</link><pubDate>Tue, 09 Sep 2014 15:08:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99024</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=99024</wfw:commentRss><description>Correction: I was mistaken, Microsoft.SharePoint.Administration is available in the sandbox.    I will review the logs further to maybe see why it was unable load the assembly.</description></item><item><title>Re: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/99021.aspx</link><pubDate>Tue, 09 Sep 2014 12:36:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99021</guid><dc:creator>AjayS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=99021</wfw:commentRss><description>Thanks for your reply. Find the more of the log file attached.</description></item><item><title>Re: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/99008.aspx</link><pubDate>Mon, 08 Sep 2014 18:26:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99008</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=99008</wfw:commentRss><description>&lt;p&gt;Okay, I was able to publish to one of our 2010 servers and it opened in the browser w/out an issue. So it seems that it is likely to be something related to your server (which I know is not terribly helpful). Can you attach more of the log file for the correlation ID?&lt;/p&gt;</description></item><item><title>Re: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/99005.aspx</link><pubDate>Mon, 08 Sep 2014 16:58:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99005</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=99005</wfw:commentRss><description>&lt;p&gt;Thanks - I&amp;#39;ll take a look later today and post back. :)&lt;/p&gt;</description></item><item><title>Re: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/98992.aspx</link><pubDate>Mon, 08 Sep 2014 12:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98992</guid><dc:creator>AjayS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=98992</wfw:commentRss><description>Thanks for your reply. I have added the copy of template.</description></item><item><title>Re: InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/98956.aspx</link><pubDate>Fri, 05 Sep 2014 15:15:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98956</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98956.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=98956</wfw:commentRss><description>&lt;p&gt;Hi - can I see a copy of your template? You can attach it under the Options tab in a reply. Thanks!&lt;/p&gt;</description></item><item><title>InfoPath form with qRules gives error "The custom code in the form can not be run"</title><link>https://www.infopathdev.com:443/forums/thread/98955.aspx</link><pubDate>Fri, 05 Sep 2014 14:59:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:98955</guid><dc:creator>AjayS</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/98955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=98955</wfw:commentRss><description>I have an infopath form with qRules and it published successfully. But when i try to add the form into the library, it gives following error

&amp;quot;The custom code in the form cannot be run. This functionality maybe deactivated on the server. For more information contact the Farm Administrator&amp;quot;. 

I have verified the service &amp;quot;Microsoft SharePoint Foundation Sandboxed Code Service&amp;quot; in Central Administration and its Started
I have also verified windows services &amp;quot;SharePoint 2010 User Code Host&amp;quot; and &amp;quot;SharePoint 2010 Timer&amp;quot;. Both services are running with &amp;quot;Network Service&amp;quot; account.

I have also tried to clear the SharePoint Cache and restarted SharePoint 2010 Timer Job and SharePoint 2010 User Code Host services but of no help.

I found following error in SharePoint log.

Unhandled exception was thrown by the sandboxed code wrapper&amp;#39;s Execute method in the partial trust app domain: An unexpected error has occurred. - userCodeWrapperType = &amp;quot;Microsoft.Office.InfoPath.Server.Host.FormServerUserCodeWrapper&amp;quot;, userAssemblyGroupId = &amp;quot;B8B3F332CE2D495581DF220333D1D968-bkqmCNGmhDGgcdKdLKi++tZXwMGgg6LTENTjYQM8DFI=&amp;quot;, siteCollectionId = &amp;quot;ef92b8b6-a263-4bcb-8340-9111a729f321&amp;quot; - Inner Exception: Microsoft.SharePoint.UserCode.SPUserCodeSolutionProxiedException: Could not load type &amp;#39;Microsoft.SharePoint.Administration.SPService&amp;#39; from assembly &amp;#39;Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c&amp;#39;.

For your information. If i publish the Infopath form without qRules, it works fine.

Please guide me how to fix this bug.</description></item></channel></rss>