My team is trying to use the Smart Dashboard along with the driver station this year. We hope to be able to toggle through several USB cameras as well as use a limelight and have its stream constantly visible. When trying to set the driver stations Dashboard type to the Smart Dashboard, this error comes up. It also will randomly appear when opening up the Smart Dashboard manually. To open after this I have to uninstall and reinstall the dashboard.
The Driver Station opens a .vbs file at C:\Users\Public\frc2019\tools\SmartDashboard.vbs in order to launch SmartDashboard. You can navigate to that file and copy the contents or upload it here. It likely starts something like this (unless the contents got corrupted, causing the compilation issue):
'Create File System Object for working with directories
Set fso = WScript.CreateObject("Scripting.FileSystemObject")
'Get the script name, and from that the jar name
jarName = fso.GetBaseName(WScript.ScriptName) + ".jar"