FileIOPermission security exception

C

Cosimo Galasso

I'm using the InfoPath 2003 Toolkit for Visual Studio .NET.
I attached some code to the save event, in order to process the xml document
of an InfoPath form, to produce a new xml document based on a different
schema.

When I try to save the new document into the file system I get a
FileIOPermission security exception.

I'm doing that in the right way ?
Any idea ?

Thank
Cosimo
 
F

Franck Dauché

Hi,

Do a search in this forum for "File.Copy", and look at the post dated 10/5
with that title. It should help.

Regards,

Franck Dauché
 
C

Cosimo Galasso

Thank
I solved changing the security policy.
I know that there is also another way using tj RegForm tool and installing
the form as a fully trusted form.
Do you Know where i can find the it tool ?
I tried to do with js but I get an error ...


Cosimo
 
F

Franck Dauché

Glad it is working...
The RegForm.exe can be found in the InfoPath SDK.

If my previous post was useful, don't hesitate to rate it to help others
isolate answers faster.

Regards,

Franck Dauché
 

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