Sol Web Solutions Blog

Sol Web Solutions Blog is aimed to help, inform, educate and enable our site visitors.

  • Home
    Home This is where you can find all the blog posts throughout the site.
  • Categories
    Categories Displays a list of categories from this blog.
  • Tags
    Tags Displays a list of tags that have been used in the blog.
  • Login
    Login Login form

InfoPath "The form has been closed." or "The following file is not a valid InfoPath form template".

Posted by on in SharePoint
  • Font size: Larger Smaller
  • Hits: 105784
  • 0 Comments
  • Subscribe to this entry
  • Print

User reported they could open a 2007 InfoPath form from the library/list view, but couldn't open the link from Outlook or copying the URL into another/new browser tab. The errors seen where either:

  • The form has been closed
  • The following file is not a valid InfoPath form template

We knew the template/form itself was valid because brand new forms were working correctly.

How did we fix it?

  1. In right side "Available Views" for the library, click "Relink Documents" 
  2. From "Template Link" column, click right dropdown list icon and you'll see the one or more templates appear as options >> this is your first clue this is where the problem arises...there should only be 1
  3. A correct link should simply end in "/Forms/templates.xsn" 
  4. You can verify this link/URL by going to the Form Library Settings >> Advanced Settings 
  5. Have a look @ the "Template URL:" value (you can double click + Copy the URL) 
  6. Paste this URL into Notepad 
  7. Notice URL should be similar to "site/Forms/template.xml" 
  8. Back to "Relink Documents" view >> Template Link column 
  9. Clicking one of the 2+ values in this particular library shows at the end of the VERY LONG & INCORRECT template link we can see the problem starting just after the initial "/Forms/template.xsn" where the string begins "?SaveLocation=http://*" 
  10. There should be nothing with "?SaveLocation" 
  11. To fix a particular row check the "Relink" checkbox, then the button/link named "Relink Selected Documents" at the left top area of the data rows. 
  12. Users should now be able to open the link from Outlook, new browser tab, etc. 

**** How did it get this way?

Make sure users have the IE add-on SharePointOpenXMLDocument enabled.

0
Trackback URL for this blog entry.

Comments

  • No comments made yet. Be the first to submit a comment

Leave your comment

Guest
Guest Thursday, 21 November 2024

YOU ARE AWESOME!
I'm so blessed to
have people like you who
continue to make this
operation go.

Love the website.

Thanks for your hard work.

...thanks! I will pass it on to
our amazing web master
at Sol Web Solutions.

I LOVE the photos
on your web site.

It's really exciting to see the
site come together.
THANKS!!!

Get Started!

Help Today

Send an email here!

Sol Web Solutions will be glad to help you anytime with general or technical questions, suggestions or comments.

Website Hosting

Web Hosting

Sol News

We will not share, trade, or sell any of your information in any way. Your privacy is completely respected.