VoiceGuide IVR Software Main Page
Jump to content

Run VBScript after upgrading V6.0. to V7.5.19

Recommended Posts

Hi Support Team

Thanks for your support.

I was upgrade from V6.0. to V7.5.19 ,  i have problem at module VBScript, it error occurred and voiceguide hanged.

 VBScript module [

set fso = CreateObject("Scripting.FileSystemObject")
set fileLocalData = fso.OpenTextFile("$RV_PathScript\" + "localinfo.txt")
sEntireFile = fileLocalData.ReadAll
set fileLocalData = Nothing
set fso = Nothing
set vg = CreateObject("vgServices.CommandLink")
vg.Run_ResultReturn $RV_LINEID, sEntireFile
set vg = Nothing
]

------------------------------
120200.855   7   3   1      1       vbs saving script - yes (UsingClearScript=True, strIni_moduleRunScript_SaveToFile=1)
120200.855   7   3   1      1       vbs delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs
120200.865   7   3   1      1       vbs script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs
120200.865   7   3   1      1       runscr will be waiting. wait=1, calling iModuleIdx=30 (setting iRunWait_VgmIdx to 30)
120200.867   7   3   1      1       moh not set
120200.867   7                      AvailablePhysicalMemory=2585 MB
120200.867   7   3   1      1       runscr ClearScript VBScriptEngine used
120200.893   7   3   1      1       runscr .Execute call
120200.900   7   3   1      1 ERROR RunScript_ClearScript_ScriptEngineException
ERROR ErrorDetails: File not found
ERROR Message: File not found
ERROR Source: ClearScript
ERROR StackTrace:    at Microsoft.ClearScript.ScriptEngine.ThrowScriptError(IScriptEngineException scriptError)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.ThrowScriptError(Exception exception)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.<>c__DisplayClass1e`1.<ScriptInvoke>b__1d()
   at Microsoft.ClearScript.ScriptEngine.ScriptInvoke[T](Func`1 func)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.ScriptInvoke[T](Func`1 func)
   at Microsoft.ClearScript.Windows.WindowsScriptEngine.Execute(String documentName, String code, Boolean evaluate, Boolean discard)
   at (Object , String )
   at ..(Object oParam)

120200.900   7   3   1      1 note  If this error persists try using Windows Scripting Host engine, by adding this entry to [moduleRunScript] section of VG.INI : Engine=WSH
120200.900   7   3   1      1       runscr dispose call
120200.901   7   3   1      1       runscr using WSH instead (as ClearScript error). save vbs to to file
120200.901   7   3   1      1       vbs delete existing: C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs
120200.903   7   3   1      1       vbs script written to (overwriting previous): C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs
120200.904   7   3   1      1       runscr start - Run_VBS_UsingExternalInterpreter [C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs]

Share this post


Link to post

Could ypu please .ZIP up and post the C:\Program Files (x86)\VoiceGuide\temp\vbs_3_1.vbs file ?

The error message is: "File not found", so is it possible that this expression:

"$RV_PathScript\" + "localinfo.txt"

does not point to an existing file?

Viewing vbs_3_1.vbs will let you see the full path of the file passed to the fso.OpenTextFile function.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×