VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Microsoft JScript runtime error (https://forums.vandyke.com/showthread.php?t=1146)

ThomasN 12-01-2005 02:04 PM

Microsoft JScript runtime error
 
I get this nice errormessage when I try to run an example script found on the support page.

http://xyz.pp.se/~thnov/up/jscript.jpg

Edit: This is w/ SCRT 5.0.3 on XP SP1 Pro

jdev 12-01-2005 05:54 PM

Thomas,

I imagine you would see a similar error if you run the corresponding VBScript. Is this correct?

If you are getting this error, it's not specific to SecureCRT (you'd get the error even in a non-SecureCRT script), and it could be an arduous process to track down the cause. Here are some causes that I can think of that might possibly cause this behavior (this is not a comprehensive list... there might be other causes, and consulting MS KB articles might turn up something more helpful):
- Some Anti-Virus applications by default do not allow "malicious" scripts to run; where "malicious" = script that creates WScript.shell, Scripting.FileSystemObject, etc.

- Security settings in Internet Explorer are too restrictive.

- Local security policy forbids it.

- Scripting engine not installed properly or corrupted (usually not the case on an XP SP1 machine).
It's likely a machine-specific problem... do you have access to any other machines on which you could attempt to run the script?

--Jake


All times are GMT -6. The time now is 09:39 AM.