SharePoint InfoPath 2013 Errors and Fixes

This InfoPath 2013 tutorial explains, various InfoPath 2013 issues and fixes. These InfoPath errors usually come while working in InfoPath designer 2013 forms in SharePoint 2013/2016 or SharePoint Online.

Tab order issue in SharePoint InfoPath 2013 form

Now, we will see, how to fix the tab order issue in InfoPath 2013 forms in SharePoint.

In one of our InfoPath forms, we have few input fields and when we published the form and checked in the browser, the tab order was not working.

From a specific one input box to another input box, one tab was not working. We have to press two times to do that.

The problem was because of these two input boxes there was a section in between. And that was the problem. That was also taking a tab input. So in the first tab, it was going from one input box to the section and in the second tab, it was going from the section to the next input box.

What we did to solve the issue is we set the tab order of the section to -1. Then it worked fine.

The following URL is not valid error in InfoPath 2013 in SharePoint 2013

Now, we will see how to fix the error, The following URL is not valid in InfoPath 2013 in SharePoint.

Recently while publishing an InfoPath 2013 form to a SharePoint 2013 form library I got the error as “The following URL is not valid”. The URL I am entering is a valid URL. The error will come like below:

the following URL is not valid infopath 2013

One of the main reasons for this error is if there is a root level site collection or not. According to Microsoft, InfoPath ignores the URL and instead checks to see if there is a root level site collection.

So if I put http://win-pfcp2dgt8di/sites/EnjoySharePoint it will ignore the site URL and check whether http://win-pfcp2dgt8di/ is a root level site collection.

Once you will give a root level site collection URL (http://win-pfcp2dgt8di/), the error will not come. You can check this URL to know how to create a root site in SharePoint 2013.

The operation could not be completed error in InfoPath

Now, we will see how to fix an error, The operation could not be completed which comes while creating a data connection in InfoPath 2013/2010. This error looks like below:

The operation could not be completed infopath

This error can be solved by creating a top-level site collection. Infopath data connection always follows top-level site collection. Otherwise, it will not work.

So make the site a top-level site collection and try creating the connection. The error will not come.

An unknown error has occurred. The form template has been published to the server but it can only be opened in InfoPath filler

Now, we will see how to fix the error, An unknown error has occurred. The form template has been published to the server but it can only be opened in InfoPath filler.

To fix the error, try the following solution.

Install “Desktop Experience” which is a Windows feature.

In install Desktop Experience, go to Server Manager > Manage > Add Roles And Features > Features > User Interfaces and Infrastructure > Desktop Experience.

This feature is required to allow SMB-based viewing of SharePoint files (the ‘Open in Explorer’ option)

This session has exceeded the amount of allowable resources error in InfoPath 2013

Now, we will see how to fix an error, This session has exceeded the number of allowable resources which comes in InfoPath 2013 forms in SharePoint 2013/2016.

Sometimes while working with InfoPath 2013 or 2010 forms, you may get the below error.
Critical Error:
This session has exceeded the number of allowable resources.
Click Start over to load a new copy of the form. If this error persists, contact the support team for the website.
Click Close to exit this message.

This session has exceeded the amount of allowable resources infopath 2013

While filling out a form in InfoPath designer 2013, some features required the browser to communicate with the server and this is called postback. The above error occurs if the user exceeded the threshold perform section which usually sets in the central administration.

According to MSDN, the SQL Agent must be turned on in the instance of Microsoft SQL Server where session data is stored. If the SQL Agent else expired sessions are not automatically expunged from the session table which eventually gives this error.

Here to resolve this issue we need to increase the number of actions per postback in the central admin.

Open SharePoint 2013/2016 Central Administration -> General Application Settings -> Configure InfoPath Forms Services.

This session has exceeded the amount of allowable resources infopath 2013

Then in the Thresholds section, change the value set for Number of Actions per postback to the value as per your requirement.

And also in the User Sessions Change value set for Maximum size of user session data: to a maximum value according to your requirement. The default value set was to 4096 kilobytes.

This session has exceeded the amount of allowable resources

This will solve the issue This session has exceeded the amount of allowable resources that come in InfoPath 2013.

The document library already contains a file with the same name error in InfoPath 2013

This InfoPath 2013 SharePoint tutorial explains, how to fix an error that comes when you try to submit an InfoPath form to a document library. The error comes as the form cannot be submitted because of an error. The form cannot be submitted to the specified SharePoint document library. The document library already contains a file with the same name.

If you are trying to save an InfoPath form to a document library then sometimes you will see the below error: The full error message says: The form cannot be submitted because of an error. Click OK to resume filling out the form. You may want to check your form data for errors.

And when I checked the full error, it says: The form cannot be submitted to the specified SharePoint document library. The document library already contains a file with the same name. A value in the form may be used to specify the file name. if you know what that value is, modify it and try submitting the form again.

The document library already contains a file with the same name InfoPath

Here the error comes because the document library already contains a form with the same name. So give the form name in such a way that it should take a unique name while saving the form.

Open the data connection which you are using to save the form and in the Data connection wizard, give the File name like this in the formula textbox. Here I have given like below:

concat("Leave Application ", now())

This will fix an error, The document library already contains a file with the same name error in InfoPath 2013 in SharePoint 2013.

The remote server returned an error (401) unauthorized error in InfoPath SharePoint

Now, we will see how to fix an error “The remote server returned an error (401) unauthorized” which comes while trying to retrieve data from the user profile service.

In an InfoPath form, we were trying to retrieve manager details by using UserProfileService (GetUserProfileByName). It was working fine, but suddenly it gave an error as An error occurred querying a data source. Click OK to resume filling out the form. You may want to check your form data for errors.

An error occurred while trying to connect to a Web service. An entry has been added to the Windows event log of the server. Log ID:5566

When we check more in the Logs we got the error message saying as: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)

Open IIS, Then click on Authentication and then Disable “ASP.NET impersonation”.

Hope it will solve the error The remote server returned an error (401) unauthorized error in InfoPath SharePoint 2013.

InfoPath 2013 Submit option multiple click issues in SharePoint

Recently we faced one issue while simply assigning a value to a textbox using a rule in SharePoint 2013 InfoPath form. I have an InfoPath form that has a textbox and a Submit button. In the Submit button, I was trying to set a static value to the textbox.

But when I published the form and check in the browser I need to click two times in the Submit button to submit the form or set the value. The rule usually does not trigger the first time I clicked on the Submit button. It triggers the second click.

As you can see in this InfoPath form I have only a textbox and a button. In the button, I have written a rule to set the textbox value to 1 on the button click.

InfoPath 2013 Submit option multiple click issues

Now when I publish the form and click on the Button, for the first time it works fine. It sets the value to 1 at one click only. But next time if I change the value or do something else also, I need to click 2 times then only the rule triggers.

The below solution works for me, If you are facing a similar kind of issues, you can try the solution also.

What I did is I set the Postback settings to “Never” for the textbox. To do this, go to the textbox properties. Then go to the Browser forms tab and then select the “Never” option in the Postback settings. See the fig below:

InfoPath 2013 Submit option multiple click issues in SharePoint

After this, it worked fine.

People Picker browse button does not work on InfoPath 2013 form

Recently while working in a SharePoint InfoPath form library we face a very strange issue. When we Opened the InfoPath form and try to click on People Picker browse icon, nothing happened. Basically, it did not open the find people dialog box. Neither it also gives any JavaScript error.

This was an InfoPath form library form.

What we found out is that when we go to File -> Form Options (Advanced form options) and then click on “Show InfoPath commands in Ribbon or toolbar” under “Web Browser” category as shown in the fig below:

People Picker browse button does not work on InfoPath 2013 form

This will fix the InfoPath 2013 people picker browse button issue.

JSON is undefined error InfoPath Person Group Picker in IE 11 in SharePoint 2013

Now, we will see how to fix the error, JSON is undefined error which comes in IE 11 for a Person Group picker in a customized InfoPath form. We had a SharePoint 2013 list which we have customized using InfoPath. And that InfoPath has few people pickers in it.

Now when a user clicks on Person Group Picker then they are getting the error like below:
‘JSON’ is undefined.

JSON is undefined

Just to let you know that we were using the IE11 browser to test this.

When we are trying in Google chrome it was working correctly. No error coming in Google Chrome.

This might not be a proper solution but this is a workaround.

Approach-1:

In the IE, click on the Settings icon then click on “Compatibility View Settings”. In the Compatibility View Settings page uncheck “Display intranet sites in Compatibility View” as shown in the fig below:

JSON is undefined in infopath 2013

Now close your browser and try again. It should resolve the issue.

Approach-2:

If the above approach did not work, you can try this approach.

From the Tools menu in IE check if “Enterprise Mode” is unchecked or not. If it is not unchecked please uncheck it. It should appear like below:

JSON is undefined in infopath 2013 in SharePoint

Then close the browser and try again. it should fix error JSON is undefined error.

Print issue with SharePoint 2013 InfoPath form

Recently we have faced an issue with Print in a SharePoint 2013 InfoPath form. When a user tried to take print of an InfoPath form, it prints extra blank 6/7 pages apart from the pages which have content.

We have customized an InfoPath form and we have created a separate view for print. On that view when a user tries to take a print, it printing an extra 6/7 pages. We tried to find out the issue but it did not get resolved.

The solution that we tried is, we opened the site in Google Chrome instead of internet explorer (IE 11).

In Google chrome when we print it print the required pages only.

So if you face the issue, try to take the print in Google chrome, hope it will fix Print issue in InfoPath designer 2013.

A Microsoft SharePoint Server State Service error occurred while processing your request InfoPath 2013

This InfoPath 2013 SharePoint 2013 tutorial explains how to resolve the error: There has been an error while processing the form while open opening InfoPath form. A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator. The error comes in InfoPath 2013 in SharePoint 2013/2016 or SharePoint Online.

Recently I came across an issue while trying to view an InfoPath item I was getting the error, There has been an error while processing the form. This was working fine while adding a new item to the list. But when I am trying to view an item by clicking on the Title field, the error was coming.

There has been an error while processing the form while open opening the InfoPath form.

When I am clicking further to see the details of the error message it was showing as:
A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.

Click Start over to load a new copy of the form. If this error persists, contact the support team for the Web site.
Click Close to exit this message.
Show error details

A Microsoft SharePoint Server State Service error occurred while processing your request

I had a data connection in the InfoPath 2013 form which I was using to calculate the ID of the item, that was causing the issue. So when I remove that data connection it started working. This might not be a solution for you, but if you have any such things then you can check those things which might help you.

The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator

Now, we will discuss how to resolve the issue “The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator.” which comes in InfoPath 2013.

I got the below error while trying to retrieve data from a InfoPath data connection. The error message I was getting is: The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator.

The amount of data that was returned by a data connection has exceeded

Go to SharePoint Central Administration -> General Application Settings -> Configure InfoPath Form Services as show in the fig below:

The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator

Then in the Configure InfoPath Form Services page, you will see an option “Data Connection Response Size”. By default it is 1500 kilobytes, here you can change to the desired value and then click on Save.

The amount of data that was returned by a data connection has exceeded the maximum limit

You may like following InfoPath tutorials:

This tutorial, we learned how to fix below InfoPath designer 2013 errors:

  • Tab order issue in SharePoint InfoPath 2013 form
  • The following URL is not valid error in InfoPath 2013 in SharePoint 2013
  • The operation could not be completed error in InfoPath
  • An unknown error has occurred. The form template has been published to the server but it can only be opened in InfoPath filler
  • This session has exceeded the amount of allowable resources error in InfoPath 2013
  • The document library already contains a file with the same name error in InfoPath 2013
  • The remote server returned an error (401) unauthorized error in InfoPath SharePoint
  • InfoPath 2013 Submit option multiple click issues in SharePoint
  • People Picker browse button does not work on InfoPath 2013 form
  • JSON is undefined error InfoPath Person Group Picker in IE 11 in SharePoint 2013
  • Print issue with SharePoint 2013 InfoPath form
  • A Microsoft SharePoint Server State Service error occurred while processing your request InfoPath 2013
Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SPGuides.com

>