Thank you for visiting my blog. It is all started with Microsoft Word/Excel document recovery method that I implemented at work. My coworkers were so impressed that they “forced” me to create a webpage and post steps required for that method. Later I realized that not many people are reading this blog and I decided to keep it for myself and post here some code and ideas that I could reuse for the future. If you find my posts useful drop a comment for me.

Monday, November 14, 2011

Corrupted InfoPath forms get published to SharePoint


The issue with corrupted forms are only come up when a user has an older version that was previously installed.

The system is requesting to save the form first and then updates it.

The solution to this is to click on the yellow bar with prompt to “Save and Update Form”, cancel the save dialog box and close the form and then reopen the XSN link again. 

We can also run  "Infopath /cache clearall "  command to achieve the same effect:

  It is all not very user friendly. 

To fix  this for good we changed  logon script and deleted previously installed forms from cache during user’s logon with:
Erase  %userprofile%\APPDATA\Local\Microsoft\InfoPath\FormCache3\*.* /q /s

0 comments: