Search code examples
sharepointsharepoint-2013infopath

Error deploying InfoPath form on Sharepoint 2013: The XSN cannot be used on the server


I'm trying to deploy a InfoPath form to Sharepoint via Visual Studio, but I'm getting this error:

Error occurred in deployment step ‘Add Solution': The XSN cannot be used on the server.

I’m publishing the form to a network location. Any ideas?


Solution

  • I figured it out, the field Access Path in the Publishing Window must be blank, even if InfoPath suggests to keep it as the same as the Publish Path.