Amit C
Guest
|
Posted:
Tue Oct 18, 2005 8:51 am Post subject:
Problem with WScript.Shell Accessed from Different Domain. |
|
|
HI All,
I have been facing this problem since a long, I hv tried to search a
lot , and found nothing.
Your help wil be very valuable and important.
I am making a site in JSP.
I am using WScript.Shell object. and I am using the sendKeys() method
of that.
When I have the server on local domain, the script works fine. IE does
give an error "Access Denied" but my form gets submitted.
But when I deploy server on other domain, IE with WinXP gives Access
Denied Error and doesnt submit the form. while IE with Win2000 gives
error. the browser hangs for a while. but the form gets submitted, but
Server throws " Read Time Out" Exception.
I think this is the problem of corss domain. Is there any security
setting which I can change to make it work???? I am badly stuck due to
this. Somebody please help. |
|
Michael Evanchik
Guest
|
Posted:
Wed Oct 19, 2005 8:51 am Post subject:
RE: Problem with WScript.Shell Accessed from Different Domai |
|
|
Did you try adding the website into trusted sites? This should let all script
execute.
Also .hta files run with no security and trusted sites would not need to be
used.
"Amit C" wrote:
| Quote: | HI All,
I have been facing this problem since a long, I hv tried to search a
lot , and found nothing.
Your help wil be very valuable and important.
I am making a site in JSP.
I am using WScript.Shell object. and I am using the sendKeys() method
of that.
When I have the server on local domain, the script works fine. IE does
give an error "Access Denied" but my form gets submitted.
But when I deploy server on other domain, IE with WinXP gives Access
Denied Error and doesnt submit the form. while IE with Win2000 gives
error. the browser hangs for a while. but the form gets submitted, but
Server throws " Read Time Out" Exception.
I think this is the problem of corss domain. Is there any security
setting which I can change to make it work???? I am badly stuck due to
this. Somebody please help.
|
|
|