SharePoint Document Issues

Fix InfoPath 2013 Publishing to a SharePoint Online Form Library

Ayan MasoodAyan Masood Nov 25, 2026 868 views

Question details

Publish an InfoPath 2013 form to a SharePoint Online form library when the target site reports a server access error.

Fix InfoPath 2013 Publishing to a SharePoint Online Form Library
Product
Microsoft InfoPath 2013 and SharePoint Online
Device & OS
not provided
Scenario
Publishing an InfoPath form template to a form library on a SharePoint Online site or subsite.
Observed behavior
InfoPath reports that it cannot find or access the SharePoint web server for some target sites, although publishing works for an existing form library elsewhere.
Before you start

Confirm the target site URL in your browser and verify that your account can access the site and manage the target library and site content types. Have the InfoPath form template open before starting the publishing wizard.

Solution 1Recommended

Enable content types and publish the form as a site content type

Use this approach when the target form library does not manage content types or the form needs to be added through a site content type.

1
Open library settings

In SharePoint Online, open the target form library, then select Library Settings or Form Library Settings.

2
Enable content type management

Select Advanced settings, set Allow management of content types to Yes, and save the change.

3
Publish the form template

In InfoPath Designer, open the form template and select File > Publish > SharePoint Server. Enter the target SharePoint site URL, choose Site Content Type, and complete the publishing wizard.

4
Add the content type to the library

Return to the library's settings. Under Content Types, select Add from existing site content types, choose the published form content type, and add it to the library.

Enable content types and publish the form as a site content type
If the site URL still fails: Check your site permissions and your organization's support for InfoPath and SharePoint Online authentication. Enabling content types does not resolve every server access or compatibility error.
Free Microsoft Office alternative

Work with Office documents using WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for easier migration. It does not publish InfoPath form templates or fix SharePoint Online publishing errors.

Edit documents, spreadsheets, and presentations in a familiar interfaceOpen and edit Microsoft Office formats such as DOCX, XLSX, and PPTXWork with Office documents alongside your SharePoint form workflowsUse a free, lightweight alternative for everyday Office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Where can I enable content types for a SharePoint form library?

Open the form library, select Library Settings or Form Library Settings, and choose Advanced settings. Set Allow management of content types to Yes and save.

How do I add a published InfoPath form to the library?

Publish the template as a site content type in InfoPath. Then open the library settings and select Add from existing site content types under Content Types.

Why does publishing work on one SharePoint site but not another?

The sites or libraries may have different permissions, content type settings, or template URLs. Compare the target library's Advanced settings and check that your account can access and manage the target site.

Should I clear the document-template URL for the form content type?

Clear it only if you have confirmed that it is invalid. Find the setting under Site Settings > Site content types, open the relevant form content type, and select Advanced settings. The change may affect other libraries using that content type.