From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-22-2019 05:46 PM
This is something new I encountered after doing a bunch a Labview updates. . . It says "Script Error" on Line 0, Char 0, Code 0, and the URL points to labview sDOTswitfypecdnDOTcom/install/v2/st.js and "What Page"?
I have no idea how to debug this error message and eliminate this script error. Please don't follow the link, not sure if this is a legit "js". Seems weird I compiled this same program with No Script Errors a few days before the Labview updates and now I'm seeing the Script Errors after Labview updates.
Any Suggestions?
Thank you!
Solved! Go to Solution.
02-25-2019 01:56 PM
Hi Dhubbell,
Given that you didn't see this error prior to some updates, and similar errors have been resolved by a reinstall in the past, I would suggest that as an option if you can do it without too much trouble. You can force a reinstall of NI software following the instructions in this article: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8U0SAK&l=en-US
If that's not an option at the moment, we can try to troubleshoot although we may ultimately end up in the same place. This script error usually has something to do with a help file or other web content in LabVIEW. You mentioned seeing it while compiling a program. Can you give us more details about exactly what you're doing when the error appears?
Thanks,
02-25-2019 03:38 PM
After digging around on some other computers, I don't think this Script Error is directly related to a Labview Update. The Labview Application where this appears is popping up on Computers that didn't have any new Labview updates.
While this error message is popping out of Labview, I'm thinking it's related to a "Windows Update" or perhaps "another software" update Like Adobe Reader.
The most frustrating part about this error message is how vague it points to a problem. For now, I've told users to clear the error message, and continue using the Labview App. Seems to work after they acknowledge the script error, just annoying I can't track it down.
BTW, this script error is displayed when the Labview App is OPENED and when you click on the main VI in the LV Editor. . . just opening the Main VI in the IDE displays this error message.
02-25-2019 04:26 PM
I'm almost positive it's related to this topic.
02-25-2019 05:01 PM
Thanks Bill, I saw that thread, but, since my error message didn't match. I didn't think it was related. I didn't see any "Solutions" posted in the six page thread. I'm guessing there are no solutions at this time?
Doug
02-25-2019 05:56 PM
There seems to be multiple workarounds, all involving various Windows updates, but no solution. It's tedious reading, but there are several updates you can try rolling back.
02-26-2019 09:56 AM - edited 02-26-2019 10:07 AM
Thanks Bill,
I think it's best to move my "Script Error" to the original Post dated 11/01/2018. Better to focus "Script Errors" in one post:
I posted some notes there and it doesn't seem NI has a good solution at this point. It's been going on now for over 4 months.
Doug
02-26-2019 11:52 AM
Mixed opinions if this "Script Error" identified as "Application Based" is related to another "Script Error" in Labview "Help".
I think they are related. I've never seen a "Script Error" in Labview before. Now in the last few months there seems to be a growing problem of Labview "Script Errors".
In my personal situation, I have no "Labview Help Script Errors", but, I do get a "Script Error" when I open the main VI in the Labview IDE.
See this "LV Help Script Error" thread too:
02-27-2019 11:19 AM - edited 02-27-2019 11:35 AM
Here's how I found the problem.
If I opened the top level VI in the project, I got the "Script Error". Of course there was no reference to which VI was causing this error.. I started opening up each vi in my project one at a time. Good VI's didn't display the "Script Error". Then I found the subvi that was giving me the "script error". Next I took this vi and made a copy of it and started tearing it down one piece at a time... Saving the vi...Then Reopening the VI to check for "script errors". The vi didn't need to run, so as I started tearing it down piece by piece, I left it as a broken vi, saving, closing, opening, and checking for script errors.
I finally found this "Active X Control" I use for displaying URLS in the front panel. Once I deleted the "Active X Control" and recreated it, the "Script Error" was gone.
Kind of weird this all of sudden started causing a "Script Error". This routine has been in my application for a long time with no problems. Easy fix, just tracking down the source takes a long time, especially with larger projects.
Doug
03-01-2019 06:44 PM
I also get a similar error with Labview 2018 SP1 and Windows 10 (1809) on an HP laptop when trying to add a function to the block diagram using the . The error also generates an application error to the Windows event viewer. The link provided with the Windows event mentions having problems running Active-x controls in application help files because apparently Microsoft has found a security issue when running them.
The Windows event error is:
The description for Event ID 1904 from source HHCTRL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
javascript:placeObject(object4617);
https://go.microsoft.com/fwlink?LinkID=45840
I haven't had time to trace this further though.
Regards,
- Jim