question

Romilabaretto-0689 avatar image
0 Votes"
Romilabaretto-0689 asked JerryXu-MSFT commented

Infopath Error after migration from 2010 to 2016 Sharepoint

Infopath error fails to load after migration to 2016.

Things tried:
1)Modified GetUserProfileByName Data Connection
2)Re-created GetUserProfileByName Data Connection
Please suggest

office-sharepoint-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Romilabaretto-0689 avatar image
0 Votes"
Romilabaretto-0689 answered JerryXu-MSFT commented

@JerryXu-MSFT

Hi , The issue was not related to the authentication as all forms on other site collections worked fine.

However the issue is resolved by updating the SOAP URL

Thanks for your response.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @Romilabaretto-0689 ,

Glad to hear you get the issue resolved. You can accept your reply as answer so other community members will find the solution easily.

0 Votes 0 ·
JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered

Hi, @Romilabaretto-0689 ,

What error are you receiving when try to use the form? If possible please provide a screenshot of the error. And is this a issue on certain form or all the InfoPath forms?

If this is an issue on specific form, please share us with more information about the form. How do you set it up, and does the data connection you mention in the thread return any error message when you modify and try to re-create?

As it seems to be an issue right after the migration process, how do you finish the migration process? Are you using DB migration or 3rd party tools to migrate from 2010 to 2016?

And for the InfoPath form, is it a form containing custom code? If you migrate the farm with DB method, have you test the form in the test SharePoint 2013 farm?


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Romilabaretto-0689 avatar image
0 Votes"
Romilabaretto-0689 answered JerryXu-MSFT commented

Hi @JerryXu-MSFT
Thanks for your response.

DB migration was used. Its a simple InfoPath form where I'm getting the error message "There has been an error while processing the form.
Click OK to resume filling out the form. You may want to check your form data for errors " on the site when i try to click on 'New item'.
ULs logs shows the below error:

The following query failed: GetUserProfileByName (User: 0#.w|Domain\Username,
Exception Message: The remote server returned an error: (500) Internal Server Error. Server was unable to process request. --->

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @Romilabaretto-0689 ,

Are you using Claim-based authentication in the SP2016 environment? You can have a check on the IIS log and event viewer for more detailed information about the error.
Here is a thread which seems to be similar with your issue.

https://social.msdn.microsoft.com/Forums/en-US/9c2f7f4c-0fa9-43bd-94b1-1d7075e35841/5566-error-with-getuserprofilebyname-and-infopah-browser-forms-using-claims-based-authentication?forum=sharepointcustomizationprevious

0 Votes 0 ·

Hi, @Romilabaretto-0689 ,

After a few days, is there any update about your issue?

0 Votes 0 ·