Permission Denied for Fully Trusted form

R

Renjith

hi,

I am having an Infopath form and OnSubmitRequest I am posting the data
using MSXML2.XMLHTTP.

var objXmlHttp = new ActiveXObject("MSXML2.XMLHTTP");
var strUrl =
"http://server-01/wsSAM/samservices.asmx/InsertSelfAssessmentDetails";
objXmlHttp.open("POST", strUrl, false);

objXmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencode
d");
objXmlHttp.setRequestHeader("Content-Length",strXML.length);
objXmlHttp.send("XmlOutput="+strXML);

This works fine, but after making the form "fully trusted" (using
RegForm /U /T) it is giving "Permission Denied".
Also the code for changing views is giving the error "Access Denied".
This errors are appearing only after the form was changed to fully
trusted.
What could be the issue ?

Thanks
Renjith
 
S

SBFF

Once a form is marked as "fully trusted", I know I couldn't edit the form in
the VStudio IDE. Is that the problem you are having? If so, just turn that
off while you are programming/debugging the form & turn it back on when you
are ready to deploy. Once it is "fully trusted", I could only open the form
in user (fill out a form) mode.
 

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