This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

COM target does not implement IDispatch when running spellcheck

Hello,

I tried to use Georgian spellcheck in Studio provided by Microsoft.

The error is titled

COM target does not implement IDispatch

afterward, I also receive

Exception has been thrown by the target of invocation error

What could be the reasons for this?

I am using Studio 2021, however, with Studio 2019 I got the same latter issue meaning Exception has been thrown by the target of invocation error.




[locked by: Paul at 8:29 AM (GMT 0) on 17 Jan 2022]
  • <SDLErrorDetails time="15-Jan-22 20:03:41">
      <ErrorMessage>COM target does not implement IDispatch.</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.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
       at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       at Sdl.SpellChecking.MSWord.OleObject.GetProperty(String propertyName)
       at Sdl.SpellChecking.MSWord.MSWordSpellCheckerWrapper.CheckSentenceIsValid(String sentence, String isoCode)
       at Sdl.SpellChecking.MSWord.CachedMSWordSpellChecker.CheckSentenceIsValid(String sentence)
       at Sdl.TranslationStudio.Editor.SpellChecker.GetSpellingErrorsLogic.Execute(ISegmentContainerNode segmentToCheck)
       at Sdl.TranslationStudio.Editor.SpellChecker.SpellCheckToNextErrorSegmentLogic.Execute(Boolean recheckCurrentSegment)
       at Sdl.TranslationStudio.Editor.SpellChecker.SpellCheckToNextErrorRangeLogic.Execute(Boolean recheckCurrentSegment)
       at Sdl.TranslationStudio.Editor.SpellChecker.Actions.SpellCheckDocumentAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.<>c__DisplayClass30_0.<ExecuteAction>b__0()
       at Sdl.Desktop.Logger.Log.Resources(Object message, Action action)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction.Execute()
       at Sdl.Desktop.Platform.WinForms.IgCommandBarAction._lazyButtonTool_ToolClick(Object sender, ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
       at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1033</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>NICK-PC\Acer-2</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>NICK-PC</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>6228620 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • Did you code this somehow? Or should this be the user forum? If you coded it I think it would be helpful to explain how you did this?

    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

    As a matter of fact, I did not.

    I shall redirect it to the user forum.

    The error details are saved from the error I had received.

    Nika

  • So, I have published the error on Product Groups - Trads Studio or should I have to do it elsewhere?

  • Thanks , I would have just moved this one.  But no problem... you did the right thing and Trados Studio was the right place. I'll close this one.

    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