InfoPath 2013 error when adding new infoPath form

Hi

I have created an infoPath form and published it to a SharePoint 2013 site - form library (timerequest).  the form was saved and publish successfully. but when I try to add new document (form),  I got the error below and I hope someone can explain to me how each URL in the error is reported by either infoPath or SharePoint as I hope with that information i can trace where my problem is.

background:

SharePoint 2013 farm with 2 servers:  spserverfe1 and spserverapp1 (not load balancing)
web application URL is http://spserverfe1
All managed path site collection I created start with http://spserverfe1/sites/.....


The correct URL for the form library is http://spserverfe1/sites/spsite/InfoPath/Timerequest  (this showed correctly in the manifest file)

what I don't understand is when the error occurred,  the error URL showed both the app server spserverapp1 and the wfe server spserverfe1

here is the error:

The following location is not accessible, because it is in a different site collection: http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn?SaveLocation=http://spserverfe1/sites/spsite/InfoPath/timerequest/&Source=http://spserverfe1/sites/spsite/InfoPath/timerequest/Forms/AllItems.aspx&ClientInstalled=true&OpenIn=Browser&NoRedirect=true&XsnLocation=http://spserverapp1/sites/spsite/InfoPath/timerequest/Forms/template.xsn

Thanks in advance for your comments and advices

April 23rd, 2015 6:58pm

Hi Swan,

For troubleshooting your issue, please create an Alternate Access Mapping for the site at  http://WFEServerName/ to ensure this site can be resolved by InfoPath.

For more information, you can have a look at the thread:

https://social.msdn.microsoft.com/Forums/en-US/a75c3ba8-b41a-4c44-abc4-49a3dde68b1c/the-following-location-is-not-accessible-because-it-is-in-a-different-site-collection?forum=sharepointcustomizationlegacy

Best Regards,

Eric

Free Windows Admin Tool Kit Click here and download it now
April 24th, 2015 5:40am

Hi Eric

I do have an AAM entry for the WFE server   http://spserverfe1 but still getting the error.  Any thing else i can try.

Thanks

April 24th, 2015 4:59pm

Hi Swanl,

You can try to check if there are more useful ULS logs related to InfoPath issue according to the time of this error "The following location is not accessible, because it is in a different site collection" occured, it could help troubleshoot the issue.
http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx

Best Regards,
Eric

Free Windows Admin Tool Kit Click here and download it now
April 28th, 2015 8:50am

Hi Wendy Li

After all checking I finally got this resolved.  This issue caused by the authentication of SP 2013 which default using claim base authentication and for InfoPath Form to work properly, you will need to create an applicationID in Secure Store Service and a data connection file in Data connection library for the form library and edit the file with this authentication to use NTLM.

<udc:Authentication><udc:SSO AppId=nameofapplicationID CredentialType=NTLM /> </udc:Authentication>

After that the form is open properly and no more error.

Thanks

Swanl

May 9th, 2015 12:10pm

Hi Swanl,

Glad to hear your issue solved and thanks for your sharing.

Best Regards,

Eric

Free Windows Admin Tool Kit Click here and download it now
May 10th, 2015 9:46pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics