InfoPath Error: Form Server Templates are not accessible


A strange error occurred in one of my projects. In my SharePoint 2013 environment, I’ve a web application running on port 80. When I need another web app, I gave it port 89. After giving a CNAME , I setup AAM and IIS bindings so that users can access my web app by writing http://xxx.com.tr instead of http://sharepoint:89. So everything worked fine except InfoPath. I have some InfoPath forms deployed on this new web app running on 89. When I tried to open any of this forms it gave me the following error.

 

The following location is not accessible, because it is in a different site collection:

http://sharepoint/FormServerTemplates/Form.xsn?SaveLocation=http://sharepoint/FormLibrary…..

It was trying to access my form template from the root site collection of web application under port 80. After googling a couple of hours I came up with an idea that it might be due to the request management service. Then I enabled verbose logging level for request management service with the PowerShell command below.

When I inspect the logs I saw the request management service is redirecting my form template requests from http://xxx.com.tr to http://sharepoint. Only thing I need to do is disable request management service with the following PowerShell script.

This solves my problem. Maybe this is not the perfect solution and it would be mode appropriate to setup request management service to prevent this redirection. But in my case it doesn’t make difference.

Hope this helps..

Note: Yes, I still use InfoPath 🙂

 

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.