I have an InfoPath 2007 form and in the managed code I added a reference to a
web service that reads a number from an xml file, increments it, writes the
new file over the old one and uses the number in the form. When I open the
form in infopath to test it on the local machine it runs fine. problem is
when I publish it to the Sharepoint forms library it will not open. I
believe it is because there are some security issues with the code and
accessing the xml file which resides on the C: drive of the virtual server.
Do I need to make this form Fully Trusted for the web service to work from
the sharepoint library and if so, what is that process?
Thanks.
madhur - 06 Jul 2006 19:37 GMT
> I have an InfoPath 2007 form and in the managed code I added a reference to a
> web service that reads a number from an xml file, increments it, writes the
[quoted text clipped - 6 lines]
> the sharepoint library and if so, what is that process?
> Thanks.
Hi
Yes, you need to give full trust to the form.
Go to Tools->Form Options->Security and give full trust from there.
Madhur