<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Error: InfoPath cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/84340.aspx</link><pubDate>Mon, 12 Nov 2012 06:50:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84340</guid><dc:creator>Ben Gale</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84340.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=84340</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In InfoPath 2013, it is located in File &amp;gt; Info &amp;gt; Form Options (Advanced Form Options) &amp;gt; Security and Trust. I changed my options to Full Trust. (The form has access to files and settings on the computer).&lt;/p&gt;&lt;p&gt;Then my Username(), worked perfectly to preview. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Error: InfoPath cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/64315.aspx</link><pubDate>Fri, 18 Feb 2011 02:15:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64315</guid><dc:creator>augustwind</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64315.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64315</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I&amp;#39;m wondering if you get different results when the form is published (after setting the trust level back to domain, of course). Are you publishing to a form library? Can you publish a test version of the form to a test library, and see if you still have this error when the form is opened from its published location? 
&lt;p&gt;Were you previously able to open the form in preview without this error? Has anything changed on your machine, to your knowledge?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, we only have a test server at this point - - the department said they didn&amp;#39;t want to wait until we got a new server so we got a new domain and set it up for them.....it&amp;#39;s a very precarious position to be in - - &lt;/p&gt;
&lt;p&gt;But since this is now, technically, a production installation, I don&amp;#39;t want to take the chance on publishing it and having it do the same thing on the prod server.&lt;/p&gt;
&lt;p&gt;Since we changed the domain for publishing, I had changed all the lists and datasources to the new server/domain. That&amp;#39;s what changed.&lt;/p&gt;
&lt;p&gt;[Next day]&lt;/p&gt;
&lt;p&gt;I went in early to test and sure enough, when I publish, everything is fine. Thanks for all your help&lt;/p&gt;</description></item><item><title>Re: Error: InfoPath cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/64263.aspx</link><pubDate>Wed, 16 Feb 2011 23:25:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64263</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64263</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m wondering if you get different results when the form is published (after setting the trust level back to domain, of course). Are you publishing to a form library? Can you publish a test version of the form to a test library, and see if you still have this error when the form is opened from its published location?&lt;/p&gt;
&lt;p&gt;Were you previously able to open the form in preview without this error? Has anything changed on your machine, to your knowledge?&lt;/p&gt;</description></item><item><title>Re: Error: InfoPath cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/64262.aspx</link><pubDate>Wed, 16 Feb 2011 23:15:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64262</guid><dc:creator>augustwind</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64262</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;What is the form&amp;#39;s Security Level set at? This is under Tools / Form Options / Security &amp;amp; Trust in IP 2003 &amp;amp; 2007, and under File / Info / Advanced Form Options / Security &amp;amp; Trust in IP 2010.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;The checkbox for automatically determining the level is checked, and it&amp;#39;s grayed out, but I&amp;nbsp; can see it&amp;#39;s domain. I&amp;#39;ve tried unchecking the checkbox and selecting &amp;#39;Domain&amp;#39;, but that didn&amp;#39;t help.&lt;/p&gt;
&lt;p&gt;I know it&amp;#39;s not the way to go, but if I put it at Full Trust, it will work just fine:)&lt;/p&gt;</description></item><item><title>Re: Error: InfoPath cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/64237.aspx</link><pubDate>Wed, 16 Feb 2011 16:56:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64237</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64237</wfw:commentRss><description>&lt;p&gt;What is the form&amp;#39;s Security Level set at? This is under Tools / Form Options / Security &amp;amp; Trust in IP 2003 &amp;amp; 2007, and under File / Info / Advanced Form Options / Security &amp;amp; Trust in IP 2010.&lt;/p&gt;</description></item><item><title>Error: InfoPath 2010 cannot open a new form - error in calculation code</title><link>https://www.infopathdev.com:443/forums/thread/64233.aspx</link><pubDate>Wed, 16 Feb 2011 15:25:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64233</guid><dc:creator>augustwind</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64233</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;In my form, I automatically fill the &amp;#39;SubmittedBy&amp;#39; textbox with the Username - - &lt;br /&gt;This is the error that I get (starting with the one in the subject line) when I Preview the form:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;InfoPath&lt;br /&gt;Your user name cannot be verified because the form&amp;#39;s security settings do not permit it.&lt;br /&gt;Error occurred during a call to property or method &amp;#39;get-UserName&amp;#39;.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then, if I remove the function to get the username in that field, it loads fine. I had this working for a long time. It just started doing this.&lt;br /&gt;I don&amp;#39;t really want to publish it, though i have some bug fixes I need to get published, until this is resolved.&lt;/p&gt;
&lt;p&gt;Any ideas?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are several dropdowns which get data from other lists on the published site, if that helps&lt;/p&gt;</description></item></channel></rss>