I'm having an intermittent issue when I run a script that loads a Report. The error is shown in the screen shot below,
The line of code that the error refers to:
Call Report.LoadLayout(MyFolders(1)&"T4 DGB - SS Layout.TDR")
Some thoughts I have:
So, I don't think that the script is the cause of the error. Today I dragged a TDR into the Report tab and got the same error. When I pressed "OK" DIAdem did not crash, but only one of the 70 tabs was loaded. I did the same action again and it loaded with no issues.
I was able to intermittently replicate this issue.
Was DIAdem working as expected for a while before this error and recently started acting up, or has this been happening since DIAdem was first installed?
One general recommendation I have is to perform a Force Reinstall, which can clear up issues with corrupt files in your install (a regular reinstall only fixes missing files, not corrupted files). It's not a guaranteed fix, but it's definitely something to try sooner in the troubleshooting process rather than later. Worst case scenario, it eliminates a potential cause of the problems before any deeper troubleshooting is pursued.
Force Reinstall Non-Working or Corrupt NI Software