<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: The Custom Code in the form cannot be run. This functionality may be deactivated on the server.</title><link>https://www.infopathdev.com:443/forums/thread/102115.aspx</link><pubDate>Sun, 12 Apr 2015 19:23:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102115</guid><dc:creator>Reema Daga</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102115</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;there,&lt;/p&gt;&lt;p&gt;It could be SharePoint issue; perhaps an admin turned off sandboxing. Please make sure sandboxing is turned on.&lt;/p&gt;&lt;p&gt;Are you using Office 365? Or is this your SharePoint server? If it is a server you can access the logs on, trigger the error by trying to open the form and check the log files - default&amp;nbsp;locations &lt;a href="http://blog.degree.no/2011/01/sharepoint-2007-2010-log-file-location/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Kind Regards,&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;
&lt;/font&gt;&lt;a name="_MailAutoSig"&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color:maroon;mso-no-proof:yes;"&gt;&lt;font size="3"&gt;Reema
Daga&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span&gt;&lt;span style="font-size:9pt;mso-no-proof:yes;"&gt;Support and Quality Assurance
Engineer &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;a href="https://east.exch027.serverdata.net/owa/redir.aspx?C=fEpcTZq47ECwGlzvAH79VyLdAW3v4tEIgzURWfqqTnRTRl0HfaVZIoeLYWlTT9BmrrXO4eommtI.&amp;amp;URL=http%3a%2f%2fwww.qdabra.com%2f" target="_blank"&gt;&lt;span&gt;&lt;b&gt;&lt;span style="color:blue;font-size:9pt;mso-no-proof:yes;"&gt;Qdabra® Software&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&lt;b&gt;&lt;span style="font-size:9pt;mso-no-proof:yes;"&gt; / &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style="color:gray;font-size:9pt;mso-no-proof:yes;"&gt;877.544.2389 main /&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style="color:gray;font-size:8.5pt;mso-no-proof:yes;"&gt;425 999 4597 direct&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;/font&gt;&lt;span&gt;&lt;b&gt;&lt;span style="font-size:8pt;mso-no-proof:yes;"&gt;Business Process Automation
for Everyone&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;b&gt;&lt;span style="color:black;font-size:8pt;mso-no-proof:yes;"&gt; – Streamline data gathering to
turn process into knowledge.™&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>The Custom Code in the form cannot be run. This functionality may be deactivated on the server.</title><link>https://www.infopathdev.com:443/forums/thread/101966.aspx</link><pubDate>Wed, 01 Apr 2015 14:39:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:101966</guid><dc:creator>agamadrid</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/101966.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=101966</wfw:commentRss><description>Hi.

I have a check box in my form, and I&amp;#39;ve created the change event by code. When I click the check box, I select some rows in a multi-select list box

Everything works fine in the preview, and I can publish the form, but when I try to execute any control I get this message.

I&amp;#39;m using Infopath 2013 and SharePoint Online.

I&amp;#39;ve notice that if I comment the line that automatically has been created in the method &amp;quot;InternalStartup&amp;quot; all works except my check box, however if I un-comment that line I get the error.


public void InternalStartup()
        {
            EventManager.XmlEvents[&amp;quot;/my:CDOReporting/my:SelectAll&amp;quot;].Changed += new XmlChangedEventHandler(SelectAll_Changed);
        }


Any idea? 

Thanks &amp;amp; Regards,</description></item></channel></rss>