I have created a form that uses XMLHTTP within the code to access custom web
services. When I am in design mode and preview the form, everything works
perfectly. However, when I save the form and then double-click the XSN file
to fill it out, I receive a Permission Denied error on the xmlhttp.open
command.
I have been searching the internet for a solution for the last few hours and
have been unable to find a working solution.
Can someone please help? This is also very urgent for me because this form
is due very very soon.
Thanks,
Cory
CoryP - 26 Mar 2006 23:54 GMT
I solved my problem. It may not be the correct way, but it worked. Here is
how I did it:
1) Add the server where the web services are located to the Trusted Sites in
IE
2) Within Trusted Sites settings, enable access to files/scripts across
domains
3) Use regform.exe to register the form on your computer
4) Run the newly created .js file to finish registration
5) Open the form in design mode and go to Form Options > Security and change
it from Full Trust to Domain security
It doesnt make a whole lot of sense, but in the end the problem was solved.
> I have created a form that uses XMLHTTP within the code to access custom web
> services. When I am in design mode and preview the form, everything works
[quoted text clipped - 10 lines]
> Thanks,
> Cory