(cross-posted from my blog at http://sharepointduffbert.com/2013/09/04/fixing-the-infopath-cannot-open-the-following-file-xxxxxx-the-parameter-is-incorrect-problem/)
My SharePointBuddy (SPB) recently ran into an issue on an InfoPath form she was working on. Someone went in to try and update the form, and they received the following error:
This wasn’t a form we wanted to recreate from scratch, yet most attempts to fix it weren’t giving the results we needed.
SPB finally found the answer located at http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f0555e7c-5ba0-40bc-82b8-89b2899f20a6/cannot-open-info-path-file-from-sharepoint
She had the customer take the following steps:
- Go to C:\users\username\Appdata\local\Microsoft\
- Create a backup of the folder “InfoPath” then delete the contents of the original “InfoPath” folder.
- Next, go to C:\users\username\Appdata\Roaming\Microsoft\
- Create a backup of the “InfoPath” folder and then delete the contents of the original “InfoPath” folder
Voilà! The problem was fixed and everyone was happy.