"Exception has been thrown by the target of an invocation." when trying to access Project Settings

Hi everyone,

I have been having an issue with Studio for the last two days, basically since I installed the last update. The whole app works fine, except that I can’t access the Project Settings. Whenever I try, I get this infamous error message: "Exception has been thrown by the target of an invocation."

My version of Studio is up-to-date, so is Windows. I’ve uninstalled Studio, reinstalled it, uninstalled it again to install a previous version, updated it again. Nothings seems to make any difference whatsoever.

You’ll find below the details log of that error.

I really appreciate your help.

Laurent


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<SDLErrorDetails time="29/07/2020 21:14:50">
<ErrorMessage>Exception has been thrown by the target of an invocation.</ErrorMessage>
<Exception>
<Type>System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>mscorlib</Source>
<HResult>-2146232828</HResult>
<StackTrace><![CDATA[ at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance[T]()
at Sdl.Desktop.Platform.Settings.SettingsPageReference`1.Initialize()
at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.EnsurePageInitialized(ISettingsPageReference r)
at Sdl.Desktop.Platform.Implementation.Settings.AbstractSettingsHost.set_ActiveSettingsPage(ISettingsPageReference value)
at Sdl.Desktop.Platform.WinForms.SettingsUIControl.AdjustActiveSettingsPageCore(TreeNodesCollection nodes)
at Sdl.Desktop.Platform.WinForms.SettingsUIControl.AdjustActiveSettingsPageCore(TreeNodesCollection nodes)
at Sdl.Desktop.Platform.WinForms.SettingsUIControl.AdjustActiveSettingsPageCore(TreeNodesCollection nodes)
at Sdl.Desktop.Platform.WinForms.SettingsUIControl.AdjustActiveSettingsPageCore(TreeNodesCollection nodes)
at Sdl.Desktop.Platform.WinForms.SettingsUIControl.UpdateActiveSettingsPage()
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parents
  • It would be worth trying a reset (this is not the same as just reinstalling).  Rename this folder (just add _old to the end or something, it's not important what you rename it to) and restart Studio:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\15.0.0.0

    So the path would become this:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SDL Trados Studio\15.0.0.0_old

    If you can't find this folder then you need to unhide your hidden files/folders:

    www.howtogeek.com/.../

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul, I have the same issue. I've checked and I have 'hidden files' checked, but cannot locate that folder. Does this look right for the folder name, please?: c:\Users\delai\AppData\Roaming\SDL\SDL Trados Studio\15.0.0.0
    I was trying to access Project Settings because Language Cloud results are not showing (it says 'searching'). Thanks very much!

Reply
  • Hi Paul, I have the same issue. I've checked and I have 'hidden files' checked, but cannot locate that folder. Does this look right for the folder name, please?: c:\Users\delai\AppData\Roaming\SDL\SDL Trados Studio\15.0.0.0
    I was trying to access Project Settings because Language Cloud results are not showing (it says 'searching'). Thanks very much!

Children