Friday, July 1, 2011

an unknown error the form template has been published but can only be opened in InfoPath Filler.

Nintex workflow Infopah form edit

An issue has been discovered when the current logged on user on the local machine is different to the signed in user on SharePoint, and then tries to edit and save an InfoPath form.

Scenario

User A logs onto the local machine and opens a SharePoint site. They're then automatically signed into SharePoint
User A then logs out of SharePoint, and User B then signs into SharePoint on the same machine.
User B then works with Nintex Workflow 2010 and edits an InfoPath form (i.e. Start Form).
After editing the form, User B then saves an publishes the form. The following error will occur:

An unknown error has occured. The form template has been published to the server but it can only be opened in InfoPath Filler.

Reason

The form is checked out as User B (when Edit with Microsoft InfoPath 2010 is clicked) but InfoPath tries to save the changes as User A. It tries to run as User A because InfoPath is a local install and runs under the local logged on user.

Workaround

Log on to the local machine as the user which needs to edit and publish the InfoPath form.

5 comments:

  1. I am experiencing this issue when I am logged into Windows with the same account that is accessing SharePoint.

    ReplyDelete
  2. Thank you! It works. I've just log in as a local admin on my PC, because I'm using SharePoint through my domain account. (SharePoint 2013 Online, SharePoint Designer 2013 64-bit, InfoPath 2013 64-bit)

    ReplyDelete
  3. This does not work. I came as an administrator but when I try to publish a form I get the same error

    ReplyDelete