Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-01-2005, 02:04 PM
ThomasN ThomasN is offline
Registered User
 
Join Date: Mar 2005
Location: Sweden
Posts: 3
Microsoft JScript runtime error

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



Edit: This is w/ SCRT 5.0.3 on XP SP1 Pro
Reply With Quote
  #2  
Old 12-01-2005, 05:54 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,034
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
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:45 PM.