InfoPath 2007 Full Trust

S

Smolakm

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.
 
M

madhur

Smolakm said:
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.

Hi

Yes, you need to give full trust to the form.
Go to Tools->Form Options->Security and give full trust from there.

Madhur
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top