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.