Link to home
Start Free TrialLog in
Avatar of netfriendsinc
netfriendsinc

asked on

Javascript error 'microsoft jscript runtime error'

I am having a ms javascript error when trying to run a service pack installation for a clinical application.  Tried updating java, uninstalling java and reinstalling it without luck.  I've included a print screen of the error and the offending line of code within the javascript file.  
xcelerasp1.JPG
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Java is different from Javascript and MS' JScript.  Updates to Java won't make a difference here.
How are you trying to run it?  Why are you in Excel and looking at the JS file?  Can you provide details on this app and how it works?  Also do they provide info on how you are suppose to run or apply this Service Pack?
What is your OS?  If you do think the scripting engine needs an update instead of Java you should do the Windows Script.  For XP I believe you'd want http://www.microsoft.com/downloads/details.aspx?familyid=47809025-D896-482E-A0D6-524E7E844D81&displaylang=en .
It is puzzling to see that file in Excel though so I really wonder if the process just isn't being done right.  It would definitely explain the error.
Let me know if you have a question about any of this.
bol
Avatar of netfriendsinc
netfriendsinc

ASKER

The application is installed from a network share (i've also tried running it locally) via an exe file; once the main application is installed, which went smoothly, SP1 is then run.  It is launched via an exe file, apparently it then copies files to the %username% directory under local setttings/temp and launches a ms jscript which continues the sp1 install.  I opened it in excel so i could see which was line 1103 which was having the error (as opposed to notepad which didnt tell me line numbers).  The company, Philips Medical provides instructions for installation and I have followed them to the tee.  After installing this app on over 70 workstations, I have noticed it either installs without a hitch or SP1 brings the entire thing down - a reimage of the computer will allow the install to go smoothly however.  I've also taken everything out of startuip, disabled services (not MS services) and tried the install again with the same results.  Philips Technical support says to reinstall the OS (which is Windows XP SP2).  

Again, i have it in excel so i could see the line which was causing the error, not to run it.  the file is a *.js file.above link actually fixed that error however, there is now a new error which I'm not sure if you can help with but I am attaching the screenshot of the new error and the js script (change ext to .js).
installSP1.js.jpg
xcelera2.JPG
ASKER CERTIFIED SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sc0tt

thanks for your reply.  Previously I had disabled all startup files by using msconfig, as well as all non-essential services (leaving all the MS services enabled), without any success.  I do have administrative rights; I've tried using a domain admin account and a local admin account of which neither had any effect on the install.  Yes, the re-image the OS is laughable, I'll try and see if I can dig a little further on this with their helpdesk - I call it the 'unhelpful desk' lol.  sigh.  Thanks for your time, i'll leave this question open for a bit just in case.  


I just wanted to check on the status of this.  Let me know if you need any more help with it or have a question about closing this.  I am glad I could help and it seems this was fixed but let me know if that isn't actually the case.

bol