I’m trying to open a .xsn file from a certain site collection (Project Server) on the other site collection (in visual web part). My goal is to present an InfoPath form.
site with the web part:
This is how I set the .xsn file in c#:
XmlFormView xmlFormView = new XmlFormView(); xmlFormView.XsnLocation = "http://lp/pwa/projekt_test_erp/project%20documents/project%20rate.xsn";
After deploy I get this error:
“The following location is not accessible, because it is in a different site collection.”
Why I can’t access .xsn from a different site collection? Is there any way to make it work?
I’m working on this problem for about 3 days – any help will be greatly appreciated!