Issue with using MS Word spell checker in Studio 2021, I use Office 365

MS Word spell checker crashes in Studio 2021 (I use Office 365) giving the following error message

Error dialog box in Trados Studio 2021 showing 'Exception has been thrown by the target of an invocation.'

Occasionally, it also displays the following messages

Question dialog box in Trados Studio 2021 with a spell check error message 'COM target does not implement IDispatch.'

Error dialog box in Trados Studio 2021 displaying 'Method Add call error.'

Any suggestions how a common user could get Studio 2021 working as it should without spending excessive time on troubleshooting without any results whatsoever?



Generated Image Alt-Text
[edited by: Trados AI at 3:57 AM (GMT 0) on 29 Feb 2024]
emoji
Parents
  • Hello ,

    I haven't seen such errors associated with MS Word Spell checker before, The first error seems to suggest a problem with validating the file.

    Could you please post the full error stacks  as these provide essential information to help us understand the problem.

    Error message dialog box with instructions: 1) Click on the icon, 2) Save the XML file to your desktop, 3) Add file to the thread.

    Lydia Simplicio | 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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 3:57 AM (GMT 0) on 29 Feb 2024]
  • <SDLErrorDetails time="12.02.2021 11:18:51">
    <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.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.GetDocument()
    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.SpellCheckerDialogOutlookStyle.GoToNextError(Boolean recheckCurrentSegment, RangeInSegment after)
    at Sdl.TranslationStudio.Editor.SpellChecker.SpellCheckerDialogOutlookStyle._btnAdd_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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>
    <InnerException>
    <Type>System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ErrorCode>-2147023174</ErrorCode>
    <HelpLink />
    <Source />
    <HResult>-2147023174</HResult>
    <StackTrace><![CDATA[]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.1.3.4096</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>MARENATWORK2\maren</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>MARENATWORK2</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8239316 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Reply
  • <SDLErrorDetails time="12.02.2021 11:18:51">
    <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.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.GetDocument()
    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.SpellCheckerDialogOutlookStyle.GoToNextError(Boolean recheckCurrentSegment, RangeInSegment after)
    at Sdl.TranslationStudio.Editor.SpellChecker.SpellCheckerDialogOutlookStyle._btnAdd_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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>
    <InnerException>
    <Type>System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <ErrorCode>-2147023174</ErrorCode>
    <HelpLink />
    <Source />
    <HResult>-2147023174</HResult>
    <StackTrace><![CDATA[]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.1.3.4096</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>MARENATWORK2\maren</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>MARENATWORK2</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>8239316 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

Children
No Data