<?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: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/70722.aspx</link><pubDate>Thu, 29 Sep 2011 15:25:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70722</guid><dc:creator>alvon688</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=70722</wfw:commentRss><description>&lt;font face="Consolas" size="3"&gt;We are running InfoPath 2007.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;We have encountered this error message in several different situations.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Not sure there is one solution.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In my cases, it occurred because a form variable has been changed or deleted from the existing form.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In our worse case, it involves getting &amp;quot;invalid signature&amp;quot; errors on perfectly good signatures that have expired or were revoked.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;That patch is &lt;/font&gt;&lt;a href="http://support.microsoft.com/kb/957306"&gt;&lt;font face="Consolas" size="3"&gt;http://support.microsoft.com/kb/957306&lt;/font&gt;&lt;/a&gt;&lt;font face="Consolas" size="3"&gt;, but it&amp;nbsp;is not 100%.&lt;/font&gt;&amp;nbsp; 
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;Usually, the full error message contains the name of the problem field.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The next step is to browse the XML file to find this field and its context.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;From there, it depends on what changes were made to that specific form template.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I have also found that, depending on the change, just the new version number on the template can throw these errors.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Try changing the version number in the xml file to the latest version number of the template.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;In a couple of forms, I had to create&amp;nbsp;entire new libraries and freeze the old ones.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;font face="Consolas" size="3"&gt;&lt;/font&gt;&amp;nbsp; 
&lt;p class="MsoPlainText" style="MARGIN:0in 0in 0pt;"&gt;&lt;font face="Consolas" size="3"&gt;After going through several of these situations, I take extreme caution when creating new versions and changing/deleting signatures and other variables.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Wish I could provide more specific help.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;InfoPath is great, but this is a very frustrating area.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I have not found much info from Microsoft explaining any procedure to resolve.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/70705.aspx</link><pubDate>Thu, 29 Sep 2011 09:39:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70705</guid><dc:creator>Paul Tudor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=70705</wfw:commentRss><description>&lt;p&gt;Hallo ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Did someone found this problem solution ? I had encounter same error over and over in Infopath 2003 i had aplied also the necessary patches that they said will fix the problem from &lt;a href="http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=917510&amp;amp;kbln=en-us"&gt;http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=917510&amp;amp;kbln=en-us&lt;/a&gt;&amp;nbsp;, (office2003-KB917510-GLB.exe) but same error is trowing.I had check also with code inspector and i had&amp;nbsp;NO any &amp;nbsp;validation code in my form.I had check every filed also.So every time when i digitaly signed the error is trow in a pop-up&amp;quot;There was an error in custom validation code&amp;quot;.&lt;/p&gt;
&lt;p&gt;Thank you, any new ideas will be appreciated!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/65889.aspx</link><pubDate>Tue, 12 Apr 2011 20:17:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65889</guid><dc:creator>avonsteen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=65889</wfw:commentRss><description>&lt;p&gt;Djay:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Did you ever get a resolution to this problem?&amp;nbsp; I am experiencing the same problem on&amp;nbsp;many&amp;nbsp;signed forms from last&amp;nbsp;year.&amp;nbsp; The problem&amp;nbsp;appears to be related to&amp;nbsp;two dates when the template was updated.&amp;nbsp; The first time I created a new library for the new template,&amp;nbsp;but some of the forms still fail.&amp;nbsp; Second time was just a template update.&lt;/p&gt;
&lt;p&gt;Did the suggestion to diff the two templates help at all?&amp;nbsp; I have looked at the&amp;nbsp;xml and could probably remove the digital signatures with Notepad or Word, but that doesn&amp;#39;t make much sense and probably get me in deeper.&amp;nbsp; Do you know if Microsoft has any repair tools?&lt;/p&gt;
&lt;p&gt;This is pretty awful!!&amp;nbsp; I can imagine how you felt.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/26000.aspx</link><pubDate>Tue, 29 Jan 2008 00:36:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26000</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=26000</wfw:commentRss><description>&lt;p&gt;Good luck. Let us know what you find after you&amp;#39;ve diff&amp;#39;d the two forms.&lt;/p&gt;</description></item><item><title>Re: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/25879.aspx</link><pubDate>Thu, 24 Jan 2008 03:17:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25879</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25879</wfw:commentRss><description>&lt;p&gt;Yep, I checked those too.&amp;nbsp; I never use them so I wasn&amp;#39;t expecting to find anything...&lt;/p&gt;
&lt;p&gt;I have two forms, one where this behavior appears, one which doesn&amp;#39;t.&amp;nbsp; So when I get some time (hehe, yea right) I will dive into this and figure out what is going on.&lt;/p&gt;
&lt;p&gt;No matter of I missed something, or this is a bug, this is some really bad design...Making forms essentially useless like this.&lt;/p&gt;</description></item><item><title>Re: Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/25666.aspx</link><pubDate>Tue, 15 Jan 2008 17:45:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25666</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25666</wfw:commentRss><description>&lt;p&gt;Custom validation does not just include code. On the fields themselves, you can assign a custom validation. Use the logic inspector to see if you have any field-specific custom validation in your form template.&lt;/p&gt;</description></item><item><title>Opening signed form with new template</title><link>https://www.infopathdev.com:443/forums/thread/25613.aspx</link><pubDate>Sat, 12 Jan 2008 02:35:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25613</guid><dc:creator>djay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25613.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25613</wfw:commentRss><description>&lt;p&gt;Ok, one more problem.&amp;nbsp; And this is a doozy.&amp;nbsp; I pray someone can help me as this is a show stopper for me.&amp;nbsp; I have tried every which way around this and I am at a dead end.&amp;nbsp; Is this an InfoPath bug?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a form that has been signed (entire form).&amp;nbsp; Since signing I have changed the template and modified the data source.&amp;nbsp; When I attempt to reopen the form a get a message that says: &amp;quot;This form is digitally signed, but was created with an older version of the form template.&amp;nbsp; This form will be upgraded to work with the new template, but this may remove its signatures...&amp;quot;&lt;/p&gt;
&lt;p&gt;Great, so it should remove the signature and update the xml?&amp;nbsp; Nope.&amp;nbsp; I get the error, &amp;quot;There was an error in the custom validation code.&amp;quot;...&amp;quot;The value has been digitally signed and cannot be changed.&amp;quot;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;do not have custom validation.&amp;nbsp; I have disabled all pertinent managed code.&amp;nbsp; It seems to me InfoPath should strip the signature and run upgrade.xsl, which is what I want it to do.&amp;nbsp; What is it trying to run while the signature is still attached?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any help would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>