Accessing Webservice with fully trusted form??

S

Suhaib

I created one browser enabled form with FULL TRUST, which access Webservice.
It works fine if I access it from the server, but accessing it from a other
machines throws an error message saying -

Form template:

The form template is trying to access files and settings on your computer.
InfoPath cannot grant access to these files and settings because the form
template is not fully trusted. For a form to run with full trust, it must be
installed or digitally signed with a certificate.

Note: I installed this form by follwoing these steps -

• Select the File | Publish menu command.
• In the first page of the Publishing Wizard, click To a network location
and click Next.
• Click Browse and select Desktop, ensure that the File Name is MyForm.xsn
and click OK.
• Ensure that the Form template name is MyForm and click Next.
• In the next page of the Publishing Wizard, clear the text box and click
Next.
• In the next page of the Publishing Wizard, click on the Publish button.
• The Publishing Wizard will inform you that your template has been
successfully published, click Close.
• Close InfoPath 2007.
• Open Internet Explorer and click on the Central Administration favorites
link.
• Click on the Application Management link, and then click on the Upload
form template link in the Office Forms Server 2007 section.
• Click on the Browse button, navigate to the Desktop
• Select your MyForm.xsn, click Open and then click Upload.
• You are now on the Add Form Template page, click OK.
• Hover over the MyForm.xsn in the Manage Form Templates list and select the
Activate to a Site Collection.

I'm not sure what I'm missing here???? Please help.

Thanks in advance,
 
P

psiEnergos

This reply is late but I hope it will be of some service to you.

Even if the form is marked as 'Fully Trusted'; if the form has scipts or
code-behind (if developed using the VS SDK), then it will require a digital
certificate (code signing) in order to be opened with full trust after the
document has been published.
 

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