Saturday, September 13, 2014

There has been error while loading the form error in Infopath 2013

In this post we will discuss how to resolve the error There has been error while loading the form which comes while opening a published infopath form 2013.

Also check out:
- Ghosting Unghosting in SharePoint

- SharePoint 2013 designer workflow discontinued features

- Activate Group Work Site Template in SharePoint 2013

Recently some users when try to open the infopath form from a link by following this article, some users got the below error.

The error message says.There has been error while loading the form. Click Try again to attampt to load the form again. If this error persists, contact the support team for the web site.

Click close to exit this message.

Error details:
The following file is not a valid infopath form template.



Solution:
Here the problem in this case was with the URL. First I was giving the below URL:
http://win-pfcp2dgt8di/_layouts/15/FormServer.aspx?XsnLocation=http://win-pfcp2dgt8di/MyTestFormLib/Forms/template.xsn&SaveLocation=http%3A%2F%2Fwin-pfcp2dgt8di%2FMyTestFormLib&ClientInstalled=false&DefaultItemOpen=1

Then I gave the below URL and it is working now.

http://win-pfcp2dgt8di/_layouts/15/FormServer.aspx?XsnLocation=http://win-pfcp2dgt8di/MyTestFormLib/Forms/template.xsn&OpenIn=browser&SaveLocation=http://win-pfcp2dgt8di/MyTestFormLib

Do not know why it is happening but it resolved the issue in my case,


Twitter Delicious Facebook Digg Favorites More