InstrumentStudio

cancel
Showing results for 
Search instead for 
Did you mean: 

InstrumentStudio not Launching

When I launch InstrumentStudio from start menu, InstrumentStudio looks like it is starting up (loading all the required packages etc) but then it crashes and does not open.

I open the crash log at C:\Users\user_a\AppData\Local\National Instruments\InstrumentStudio 24.5\InstrumentStudio_Error_Log_2024-09-23__16-15-33_0


Error message:
Could not load file or assembly 'ChromiumFX, Version=3.3239.0.0, Culture=neutral, PublicKeyToken=2eaa5af0834e221d'. The system cannot find the file specified.
Exception:
FileNotFoundException
Suggestion:
Contact National Instruments to report this error
Stack trace:
at NationalInstruments.Restricted.Controls.ChromiumFxWebBrowser.InitializeChromiumFx()
at NationalInstruments.Restricted.Controls.NIWebBrowserChromiumFx.InitializeIfNeeded()
at NationalInstruments.Controls.NIWebBrowser.Initialize()
at NationalInstruments.Core.BasicActivity.TrueAction(Action action)
at NationalInstruments.Core.BasicActivity.<>c__DisplayClass0_0.<.ctor>b__0(CancellationToken token)
at NationalInstruments.Core.BasicFuncActivity.OnDoWork()
at NationalInstruments.Core.ScheduledActivity.OnDoWorkAsync()
at NationalInstruments.Core.ScheduledActivity.DoWorkAsync()

0 Kudos
Message 1 of 3
(697 Views)

Starting in InstrumentStudio 24.5 (aka InstrumentStudio 2024 Q3), InstrumentStudio should no longer be using ChromiumFX. In previous versions, there was a "ChromiumFX" directory next to the InstrumentStudio exe. However, this folder should not exist starting in version 24.5. InstrumentStudio checks for the existence of this directory, which it should not find, to decide if it should initialize ChromiumFX. (There are other products using this shared component that still want ChromiumFX to be available.) 

 

I'm guessing your install of InstrumentStudio contains a ChromiumFX folder with the partial contents for that folder. Am I correct? What files exist in that folder? Do you know how your install got into this state? Did you upgrade from an older version of InstrumentStudio? 

 

For a work around, you should be able to delete (or rename) the ChromiumFX folder next to the InstrumentStudio exe. 

 

I created a bug report to investigate this further.

0 Kudos
Message 2 of 3
(648 Views)

One more question. I want to confirm you were seeing a crash where InstrumentStudio went away unexpectedly. If yes, were there any other error reports in your AppData folder?

 

I ask because as far as I can tell, this appears to be an internal error that shouldn't lead to an actual crash. However, there could be a code path I'm missing because I needed to guess at what ChromiumFX files exist in the problem case.

0 Kudos
Message 3 of 3
(631 Views)