Published Form does not read data from a xml file

C

Chez

I am new to infopath. I have created a new form that reads an xml file to
give additional information or particular users. My form runs fine in design
mode. However when i publish the form to either sharepoint or even a local
directory on my machine i get an error "system.sercurity exception: etc..
system.security.permissions.fileiopermission,mscorlib, version=2.0 etc.."

I am not sure if i need to add setting to my form or code can anyone help?
 
C

Chez

By running the regform allowed my publised form on my local machine to read
the xml file. However i am still confused when it comes to sharepoint if i
publish the form from my local machine to a sharepoint site how do i set it
as fully trusted do i run the regform again on the sharepoint server as this
does not work from my local??
 
S

S.Y.M. Wong-A-Ton

You should sign your form with a digital certificate and place the XML file
on a central location (shared folder or the like). Or if you include the XML
file as a resource file to your form (Tools > Resource Files) you should not
experience any issues.
 

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