07-23-2014 03:47 AM
For some reason whenever I try to run the Sequence Editor I get a "System Level Exception" followed by " Creating an instance of the COM component witch CLSID {B2794EF6-C0B6-11d)-939C-0020AF68E893} from the IClassFactory failed due to the following error: 80004005"
I have followed the published fixes including deleteing stationglobals.ini, running "Version Selector" etc to almost no avail. The exception is that after a PC re-boot it will run but quite slowly; closing the Sequence Editor and re-starting it brings back error 80004005.
I have also tried un-installing and re-installing TestStand as well as complete re-installtion of DS 2014.
Short of re-formatting my hard-drive and starting again I'm not sure what else I can do.
Any suggestions would be most gratefully received.
Keith
Solved! Go to Solution.
07-25-2014 09:13 AM
Hi Keith,
Has the computer which is encountering this error previously had TestStand installed on it, or is it a completely fresh install of TestStand? Is there any antivirus or other security precautions on your computer which may be interfering with the TestStand process.
Did deleting stationglobals and using Version Selector cause any change at all to the issue?
Best Regards,
James Kent
07-25-2014 09:37 AM
Hi James,
Many thanks for your response.
The PC has had TestStand installed for several years and had been working perfectly right up to the last moment - the problem didn't coincide with any update or upgrade.
Yes it does have Symantec anti-virous installed.
Deleting staionglobals.ini didn't affect the symptoms at all and Version Selector always runs without error.
Both the the Simple and Full-Featured User Interfaces work no problem.
The weird thing is that it appears to work after a PC re-boot but if closed and re-run it fails with the usual error message.
Best Regards
Keith
07-28-2014 05:44 PM
try renaming the following files before starting the sequence editor after a reboot (renaming to anything effectively deleting them, but keeping a backup):
C:\Users\<YourUserName>\AppData\Local\National Instruments\TestStand 2013\layout_current.bin
C:\Users\<YourUserName>\AppData\Local\National Instruments\TestStand 2013\SeqEdit.xml
If that doesn't work, you might try renaming your cfg directory (i.e. C:\ProgramData\National Instruments\TestStand 2013\Cfg) to reset everything back to default settings.
-Doug
07-29-2014 05:50 AM
Hi Doug,
Many thanks for your response.
I've tried your suggestions but unfortunately the symptoms remain the same. There must be a clue in that it runs OK after a reboot but reverts if the program is closed and re-opened - but I just can't figure it out.
Best Regards
Keith
07-29-2014 09:16 AM - edited 07-29-2014 09:24 AM
1) Do you have any idea what might have changed around the time it used to work versus when it stopped working? Any new software installed? Some utility programs like graphics card utilities and virus scanners hook into all processes on a machine with Windows hooks and can sometimes cause unexpected problems. If you have anything like that installed recently, try disabling or uninstalling them and see if the problem goes away.
2) Do you have visual studio installed on your machine? What is likely happening is that an exception (really an access violation most likely) is being thrown inside the constructor of the engine when this problem occurs. If you can run seqedit.exe as the process to debug (with native debugging) with the Debug->Exceptions... dialog set to stop on thrown for "Native Run-Time Checks" and "Win32 Exceptions". And then when the exception occurs, break in the debugger, and do Debug->Save Dump As... to save a dump of the state of the process. Then attach the dump file here and we can take a look to see if it gives us any clues as to what might be the problem.
-Doug
07-29-2014 09:58 AM
If you don't have visual studio you can also generate a dump file using this tool:
http://technet.microsoft.com/en-us/sysinternals/dd996900
Use a commandline similar to the following:
"C:\Procdump\procdump.exe" -g -e 1 -f c0000005 -x c:\dumpdir "C:\Program Files (x86)\National Instruments\TestStand 2013\Bin\seqedit.exe"
This commandline will generate a dump file if an access violation occurs. If an access violation is not occuring. It would still be useful to see what exceptions are occurring and this tool will output such exceptions to the console window you run it from so let me know what it says if it's not an access violation (there are likely many expected exceptions though, so not all of the exceptions reported will be related to this problem).
Let me know if you have any questions.
-Doug
07-29-2014 10:52 AM
Hi Doug,
Here's what I got.
Press Ctrl-C to end monitoring without terminating the process.
[16:45:22] Exception: 04242420
[16:45:24] Exception: E06D7363.?AVLVExcept@@
[16:45:24] Exception: E06D7363.msc
[16:45:24] Exception: E06D7363.?AVTEException@@
[16:45:24] Exception: E06D7363.?AVTEException@@
[16:45:25] Exception: C0000005.ACCESS_VIOLATION
[16:45:25] Dump 1 initiated: c:\dumpdir\SeqEdit.exe_140729_164525.dmp
[16:45:25] Dump 1 complete: 10 MB written in 0.2 seconds
[16:45:26] Dump count reached.
C:\Windows\System32>
Thanks for your help.
Best Regards
Keith
07-29-2014 11:17 AM - edited 07-29-2014 11:32 AM
If you could also try the following:
"C:\Procdump\procdump.exe" -g -e 1 -f LVExcept -x c:\dumpdir "C:\Program Files (x86)\National Instruments\TestStand 2013\Bin\seqedit.exe"
and send us the dump from that as well, please do (I believe someone from NI has already contacted you on how to send us the dump via private message).
Thanks,
-Doug
07-30-2014 03:18 AM
Hi Doug,
Here's the result from the latest command.
Press Ctrl-C to end monitoring without terminating the process.
[09:07:58] Exception: 04242420
[09:08:00] Exception: E06D7363.?AVLVExcept@@
[09:08:00] Dump 1 initiated: c:\dumpdir\SeqEdit.exe_140730_090800.dmp
[09:08:02] Dump 1 complete: 10 MB written in 1.3 seconds
[09:08:02] Dump count reached.
I haven't seen anything from NI regarding a PM with the dumpfile itself - I note that it is a bit under 10MB. How to I go about sending it?
Best Regards
Keith