<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/30092.aspx</link><pubDate>Fri, 04 Jul 2008 07:04:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30092</guid><dc:creator>Munazzah</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30092.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=30092</wfw:commentRss><description>&lt;p&gt;I have servicePack 2 installed and still getting the error.&lt;/p&gt;
&lt;p&gt;The code was working absolutly f9 yesterday but now its giving the Sercurity error:&lt;/p&gt;&lt;font size="1"&gt;
&lt;p&gt;A first chance exception of type &amp;#39;System.Security.SecurityException&amp;#39; occurred in Microsoft.Office.InfoPath.Client.Internal.Host.dll&lt;/p&gt;
&lt;p&gt;Anyother way to resolve this error????&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26187.aspx</link><pubDate>Mon, 04 Feb 2008 17:44:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26187</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26187</wfw:commentRss><description>&lt;p&gt;Awesome, glad that it worked :)&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26175.aspx</link><pubDate>Mon, 04 Feb 2008 13:09:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26175</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26175</wfw:commentRss><description>&lt;p&gt;Thank you.&amp;nbsp; I have now downloaded the service pack and everything seems to be working.&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26163.aspx</link><pubDate>Fri, 01 Feb 2008 16:10:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26163</guid><dc:creator>davidair</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26163.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26163</wfw:commentRss><description>&lt;p&gt;Are you running InfoPath 2007? One quick thing to check: do you have SP1? If not, there is a known error where you will get security error.&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26161.aspx</link><pubDate>Fri, 01 Feb 2008 15:02:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26161</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26161.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26161</wfw:commentRss><description>&lt;p&gt;Hi again.&amp;nbsp; I have tried to create a new form with new code and that seems to work ok....&lt;/p&gt;
&lt;p&gt;My form was called ApplicationIndex10&amp;nbsp; I have tried to change it to ApplicationIndex11 - I have changed the name of the project, and the directory the code thinks it is running in....&lt;/p&gt;
&lt;p&gt;I noticed today that when I go to preview mode the name of my form changes back to ApplicationIndex10 .....maybe a clue to my problem.&amp;nbsp; Does that ring any bells ?&amp;nbsp; There must be some &amp;#39;link&amp;#39; that I have not updated&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26126.aspx</link><pubDate>Thu, 31 Jan 2008 18:55:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26126</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26126.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26126</wfw:commentRss><description>&lt;p&gt;Probably one check is can you make a simple form with code successfully?&amp;nbsp; To answer whether your environment /&amp;nbsp;setup has an issue in general.&lt;/p&gt;
&lt;p&gt;If you can then something is buggered specifically in your form.&amp;nbsp; I would guess in the moving, renaming process. You would need to audit all of this.&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26115.aspx</link><pubDate>Thu, 31 Jan 2008 15:29:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26115</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26115</wfw:commentRss><description>&lt;p&gt;Thank you for the calming words..... to answer.&lt;/p&gt;
&lt;p&gt;No I&amp;nbsp;had not tried to re-publish - I am still developing (a new version of a form published to SharePoint) and really just want to test locally - I get the error when in debug/preview mode - I depress a button with code behind and get the error on the first DIM statement.&lt;/p&gt;
&lt;p&gt;I am local Admin on my new PC.&lt;/p&gt;
&lt;p&gt;I am Using Visual Studio Tools for Applications - and I have tried to move and rename the project, and change the assembly name.&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t knowingly done anything about the &amp;#39;trust&amp;#39; of the form - how can I check?&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26097.aspx</link><pubDate>Wed, 30 Jan 2008 23:14:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26097</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26097</wfw:commentRss><description>&lt;p&gt;Stay calm Catharine...Breath Deeply....&lt;/p&gt;
&lt;p&gt;You have republished your forms?&lt;/p&gt;
&lt;p&gt;Are the forms full trust?&lt;/p&gt;
&lt;p&gt;You are a local Admin on your new PC?&lt;/p&gt;
&lt;p&gt;Are you using Visual Studio or just Scripting?&lt;/p&gt;
&lt;p&gt;Often a lot of security is part of Internet Explorer settings and Zones.&lt;/p&gt;
&lt;p&gt;Those are a few things I could think of.&lt;/p&gt;</description></item><item><title>Moving code/template between pcs -  now get Security errors</title><link>https://www.infopathdev.com:443/forums/thread/26082.aspx</link><pubDate>Wed, 30 Jan 2008 17:11:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26082</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26082</wfw:commentRss><description>&lt;p&gt;Hi - I am using Infopath 2007&lt;/p&gt;
&lt;p&gt;I have just had a new laptop.&amp;nbsp; I have moved all my stuff from my old laptop to my new.&amp;nbsp; My new laptop is set up for synchronising across a network and as I work from home 60% of the time this is annoying and very slow.&amp;nbsp; So I have had to move my development stuff to a non synchronising part of my disk and try to set up the links between code/form to work correctly....... I have obviously failed.&amp;nbsp; &lt;/p&gt;Now I have an infopath form + code which was working beautifully on my old laptop giving me errors when I get to the first DIM statement.&lt;font size="1"&gt;&lt;/font&gt;&lt;font size="1"&gt; 
&lt;p&gt;A first chance exception of type &amp;#39;System.Security.SecurityException&amp;#39; occurred in Microsoft.Office.InfoPath.Client.Internal.Host.dll&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;Does anyone have a checklist for all the things (files/references etc)&amp;nbsp;one has to change/check for moving stuff around - I am tearing my hair out and don&amp;#39;t know what to try.&amp;nbsp; I am the only person who uses infopath here (The expert! Ha Ha??!!)- My knowledge of VB/Visual Studio is only what I have picked up while using infopath....&lt;/p&gt;
&lt;p&gt;Any help/suggestions/calming words gratefully received.&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item></channel></rss>