a pubished InfoPath form template will not open for client - InfoPath Dev
in

InfoPath Dev

a pubished InfoPath form template will not open for client

Last post 10-05-2012 10:43 AM by Doreen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-13-2012 08:09 AM

    • Doreen
    • Top 50 Contributor
      Female
    • Joined on 08-11-2010
    • Federal Way, WA
    • Posts 291

    a pubished InfoPath form template will not open for client

    Using SharePoint 2007 and InfoPath 2007.

    I have a user who is not able to open a form that was submitted to a SharePoint library.  A custom SharePoint workflow is attached to this library and it is working fine.  The error dialog only happens on his machine/his userlogon - the form template.xsn opens for me on my machine (from the SharePoint library and from the link in the email which he received (and forwarded to me)).  I been successfully able to open from my machine and 2 other machines (logged on as two other users).  The error dialog looks like this:

    Microsoft Office InfoPath:

    InfoPath cannot open the following file: ?OpenIn=PreferClient&NoRedirect=true&XmLocation = /site/subsite/formlibrary/formname.xml.

    InfoPath cannot open the form. To fix this problem, contact your system administrator.

     [OK]  [Show Details>>]

    Show Details button: Form template: *.xsn

    The xsf:script element in the form definition (.xsf) file is missing the following src attribute, or the attribute is not valid: script.js

    Why does this happen for this one user and not others?  How can I fix it for this user? Should I just republish the form template to SharePoint? 

    Update: in the manifest.xsf file, here is the section of text the error message is referring to as "not valid":

    <xsf:scripts language="jscript" enforceScriptTimeout="yes">
      <xsf:script src="script.js" mce_src="script.js"></xsf:script>
     </xsf:scripts>

     script.js does exist in the .xsn (cab) file.

  • 10-05-2012 10:43 AM In reply to

    • Doreen
    • Top 50 Contributor
      Female
    • Joined on 08-11-2010
    • Federal Way, WA
    • Posts 291

    Re: a pubished InfoPath form template will not open for client

    The solution for this was to clear the InfoPath cache on this user's username on the offending machine.  Google "clear Infopath cache" to find out exact steps to clear cache.  It can be done via command line or manually or from within the form itself depending on if you want to remove just one template from the cache or the entire cache.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.