MT Enhanced plugin and DeepL plugin cause error during Settings

The following error msg is displayed: >>Setting operation "System.Windows.ResourceDictionary.Source" raised an exception. Full error msg is attached. I uses both plugins a long time without any issues. Earlier I install the latest CU (my current version is Trados Studio 2021 SR2 - 16.2.8.9097. Not sure if problem started after installation SR2, but probably. After that error appeared a few times, I uninstall both plugins and installed the most recent versions. No change. Cant use both MT engines. Anyone had similar problem and find a solution?

Regards

Jacek

3036.sdlerror-20211124-12h54m54s.sdlerror.xml
<SDLErrorDetails time="24.11.2021 12:55:05">
  <ErrorMessage>Operacja ustawiania właściwości „System.Windows.ResourceDictionary.Source” wywołała wyjątek.</ErrorMessage>
  <Exception>
    <Type>System.Windows.Markup.XamlParseException, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</Type>
    <LineNumber>0</LineNumber>
    <LinePosition>0</LinePosition>
    <UidContext />
    <NameContext />
    <HelpLink />
    <Source>PresentationFramework</Source>
    <HResult>-2146233087</HResult>
    <StackTrace><![CDATA[   w System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   w System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   w System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   w System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   w Sdl.Community.DeepLMTProvider.UI.DeepLWindow.InitializeComponent()
   w Sdl.Community.DeepLMTProvider.UI.DeepLWindow..ctor(DeepLTranslationOptions options, TranslationProviderCredential credentialStore, LanguagePair[] languagePairs, Boolean isTellMeAction)
   w Sdl.Community.DeepLMTProvider.Studio.DeepLMtTranslationProviderWinFormsUI.Browse(IWin32Window owner, LanguagePair[] languagePairs, ITranslationProviderCredentialStore credentialStore)
   w Sdl.TranslationStudio.Common.TranslationMemory.TranslationMemoriesControl.pluginContextMenuStripItem_Click(Object sender, EventArgs e)
   w System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   w System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   w System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   w System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   w System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   w System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   w System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   w System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   w System.Windows.Forms.Control.WndProc(Message& m)
   w System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   w System.Windows.Forms.ToolStrip.WndProc(Message& m)
   w System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)]]></StackTrace>
    <InnerException>
      <Type>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
      <HelpLink />
      <Source>PresentationFramework</Source>
      <HResult>-2146232800</HResult>
      <StackTrace><![CDATA[   w MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access)
   w System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access)
   w System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
   w System.IO.Packaging.PackWebResponse.GetResponseStream()
   w System.IO.Packaging.PackWebResponse.get_ContentType()
   w MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
   w MS.Internal.WpfWebRequestHelper.GetResponseStream(WebRequest request, ContentType& contentType)
   w System.Windows.ResourceDictionary.set_Source(Uri value)
   w System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_Source>b__342_0(Object target, Object value)
   w System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
   w MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
   w MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)]]></StackTrace>
    </InnerException>
  </Exception>
  <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.8.9097</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Pro for Workstations</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1045</OperatingSystemLanguage>
    <CodePage>1250</CodePage>
    <LoggedOnUser>YODA\man</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>YODA</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>33462872 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

  • I think the first thing to do is clear out all of yor plugins and once you have done that install the ones you need again making sure you use the latest one for 2021 SR2.  

    Please close Trados Studio, delete these folders, restart Trados Studio and then reinstall your apps using the integrated appstore (only click the big button under the app description as there is a bug that needs to be fixed which freezes Studio if you click next to the appname to download and install):

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

    c:\Users\[USERNAME]\AppData\Local\SDL\SDL Trados Studio\16\Plugins

    c:\ProgramData\SDL\SDL Trados Studio\16\Plugins