Error message in Studio 2015: Ein Aufrufziel hat einen Ausnahmefehler verursacht

My Studio shows an error message: "Ein Aufrufziel hat einen Ausnahmefehler verursacht", in English it should be: Exception has been thrown by the target of an invocation. In result I cannot edit any of my files anymore. (Pretty bad.) Any suggestion how to solve it? Even reinstalling both Studio and MS Office did not help.

Parents
  • Hi Aiga,

    Can you try a Studio reset, it's not the same as a reinstall as that can leave some files behind. 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\12.0.0.0

    Regards

    Paul

    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

  • Hello Paul,

    I would like to come back to this error because I got it in Studio 2017 yesterday.
    Fortunately, your suggestion worked and I was able to access the file I was supposed to deliver.
    But is there a way to find out what caused the error?
    After I finished the file and came back to it later, I just installed some plug-ins from the App Store.
    Could one of them be the reason.

    Below are the error message and the error file with details.
    Please have a look and advise how to avoid this in the future.

     

     

    <SDLErrorDetails time="24.11.2016 19:09:16">
      <ErrorMessage>Ein Aufrufziel hat einen Ausnahmefehler verursacht.</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[   bei System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       bei System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       bei System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       bei System.Activator.CreateInstance(Type type, Boolean nonPublic)
       bei System.Activator.CreateInstance(Type type)
       bei Sdl.Core.PluginFramework.Implementation.Extension.CreateInstance()
       bei Sdl.Core.PluginFramework.ObjectRegistry`2.CreateObjects()
       bei Sdl.LanguagePlatform.TranslationMemoryApi.TranslationProviderManager.GetTranslationProviderWinFormsUIs()
       bei Sdl.TranslationStudio.Common.TranslationProvider.TranslationProviderService.GetTranslationProviderFactoryUI(Uri providerUri)
       bei Sdl.TranslationStudio.Common.TranslationProvider.TranslationProviderService.GetTranslationProviderFactoryUI(ITranslationProvider provider)
       bei Sdl.TranslationStudio.Editor.TranslationMemory.CompoundTranslationMemorySearchResultsControl.UpdateMessageBar()
       bei Sdl.TranslationStudio.Editor.TranslationMemory.CompoundTranslationMemorySearchResultsControl._searchResultsControl_CurrentTranslationUnitChanged(Object sender, EventArgs e)
       bei Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.OnCurrentTranslationUnitChanged()
       bei Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.HandleActiveRowChanged(ActiveRowChangedEventArgs e)
       bei Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.Source_ActiveRowChanged(Object sender, ActiveRowChangedEventArgs e)
       bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
       bei AbstractFrameworkEditControl.raise_ActiveRowChanged(Object value0, ActiveRowChangedEventArgs value1)
       bei AbstractFrameworkEditControl.OnActiveRowChanged(Object sender, ActiveRowChangedEventArgs args)
       bei AbstractFrameworkEditControl.set_ActiveRow(IRowInfo activeRow)
       bei Sdl.DesktopEditor.Control.Support.RowInfo.set_Active(Boolean value)
       bei SideBySideEditor.set_ActiveRowNumber(Int32 rowNumber)
       bei Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.set_CurrentTranslationUnitIndex(Int32 value)
       bei Sdl.TranslationStudio.Common.TranslationMemory.AbstractTranslationMemoryControl`1.SideBySideEditor_AfterInitialUpdate(Object sender, AfterInitialUpdateEventArgs e)
       bei SideBySideEditor.raise_AfterInitialUpdate(Object value0, AfterInitialUpdateEventArgs value1)
       bei SideBySideEditor.OnAfterInitialUpdate(Object sender, AfterInitialUpdateEventArgs args)
       bei SideBySideEditor.Target_AfterInitialUpdate(Object sender, AfterInitialUpdateEventArgs args)
       bei AbstractFrameworkEditControl.raise_AfterInitialUpdate(Object value0, AfterInitialUpdateEventArgs value1)
       bei AbstractFrameworkEditControl.OnAfterInitialUpdate(Object sender, AfterInitialUpdateEventArgs args)
       bei FrameworkEditControlEventSource.AfterInitialUpdate(FrameworkEditControlEventSource* )
       bei Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
       bei FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
       bei System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
       bei System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
       bei System.Windows.Forms.Control.DefWndProc(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
        <InnerException>
          <Type>Sdl.Desktop.Platform.Services.ServiceNotAvailableException, Sdl.Desktop.Platform, Version=5.0.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
          <HelpLink />
          <Source>Sdl.Desktop.Platform</Source>
          <HResult>-2146233088</HResult>
          <StackTrace><![CDATA[   bei Sdl.Desktop.Platform.Implementation.Services.GlobalServiceContext.GetService[T]()
       bei Sdl.BestMatchService.MTProvider.BestMatchServiceTranslationProviderWinFormsUI..ctor()]]></StackTrace>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.0.5746.0</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>ARBEITS-PC\Stefan</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>ARBEITS-PC</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>12520452 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

     

    Thank you,

    Stefan

  • Hi Stefan,

    Your error may not be related at all... the error message quoted originally is a very generic one that doesn't provide enough information. Looking through the stack trace I don't think this is related to any of your apps. I wonder if you are using project templates created in an earlier version of Studio?

    What were you actually doing when this happened?

    Regards

    Paul

    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

Reply Children