Problem with WScript.Shell Accessed from Different Domain.
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Problem with WScript.Shell Accessed from Different Domain.

 
Post new topic   Reply to topic    Windows Server Forum Index -> Security
Author Message
Amit C
Guest





Posted: Tue Oct 18, 2005 8:51 am    Post subject: Problem with WScript.Shell Accessed from Different Domain. Reply with 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.
Back to top
Michael Evanchik
Guest





Posted: Wed Oct 19, 2005 8:51 am    Post subject: RE: Problem with WScript.Shell Accessed from Different Domai Reply with quote

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.

Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Security All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB