SharePoint Immersion Experience

A journey of a TSP for Collaboration

InfoPath Web Form repeating attachment error in SharePoint Server 2010

InfoPath Web Form repeating attachment error in SharePoint Server 2010

  • Comments 2
  • Likes

Recently, I created a custom InfoPath form which worked fine on the preview. After publishing to a SharePoint List, the Web form's attachment control in a repeating section failed with the following error.

"The security Validation for this page is invalid. Click back in your Web Browser, refresh the page and try your operation again"

I made the following changes to fix the error.

  1. In the 14 hive, click on the TEMPLATE -> Layouts folder.
  2. Backup the formserver.aspx file as we will be editing this file.
  3. Edit the formserver.aspx using the notepad.exe.
  4. Under the < body runat="server" id="PageBody"> tag, add the following line of code.

<SharePoint:FormDigest runat="server" />

Retry the InfoPath web form, it should be working now.

Comments
  • Very good content.

  • Thank you so much. I looked for a resolution to this issue for days, and am glad I finally came across this.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment