I am receiving the following error and Studio closes on me when I try to edit the target file. The only thing that I have done differently is attempted to reduce pretranslate settings to 51%. Since I have attempted that I am unable to use Trados: "Tok

Additional details:

lt;cG><c>16493</c><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">Gabby</tr><dt>2017-07-20T10:26:32</dt></trG><lG><l lang="EN-US" type="English"/><tG id="55"><t>trafficking in persons</t><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG></tG><tG id="25"><t>human trafficking</t><trG id="28"><tr type="origination">Gabby</tr><dt>2014-02-06T</ErrorMessage>
<Exception>
<Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>Sdl.MultiTerm.Core.XmlProcessor</Source>
<HResult>-2146233088</HResult>
<StackTrace><![CDATA[ at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)
at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(MultiTermTermbase termbase, Int32 id)
at Sdl.MultiTerm.Client.TerminologyProvider.MultiTermTermbase.GetEntry(Int32 id)
at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(Int32 id)
at Sdl.MultiTerm.Client.TerminologySearch.TermRecognitionHit.get_Entry()
at Sdl.TranslationStudio.Editor.Terminology.TermBaseAutoSuggestProvider.GetSuggestionData(EditingContext context)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionDataProviders.GetSuggestionData(EditingContext context)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
at AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
at FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
at FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
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>
<InnerException>
<Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<HelpLink />
<Source>System.Xml</Source>
<HResult>-2146233079</HResult>
<StackTrace><![CDATA[ at System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition(Token token, State currentState)
at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
at System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns)
at System.Xml.XmlWriter.WriteStartElement(String localName)
at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)]]></StackTrace>
</InnerException>
</Exception>
<Environment>
<ProductName>Trados Studio</ProductName>
<ProductVersion>Studio16</ProductVersion>
<EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
<OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
<ServicePack>NULL</ServicePack>
<OperatingSystemLanguage>1033</OperatingSystemLanguage>
<CodePage>1252</CodePage>
<LoggedOnUser>GABBYAIO\gparn</LoggedOnUser>
<DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
<ComputerName>GABBYAIO</ComputerName>
<ConnectedToNetwork>True</ConnectedToNetwork>
<PhysicalMemory>16538444 MB</PhysicalMemory>
</Environment>
</SDLErrorDetails>

Studio 2021 Version 16.2.12.9338



Moved error message to code block.
[edited by: Paul at 7:38 AM (GMT 0) on 20 Nov 2022]
emoji
Parents
  •  

    I suggest a reset.  To do this just close Trados Studio and then rename this folder:

    c:\Users\%username%\AppData\Roaming\SDL\SDL Trados Studio\Studio16\

    to c:\Users\%username%\AppData\Roaming\SDL\SDL Trados Studio\Studio16_old\

    Finally restart Trados Studio and try again.

    Also make sure you have the latest version of Multiterm installed as there are many multiterm references in your error message.  You should have these versions:

    Trados Studio 2021 - 16.2.12.9338
    MultiTerm 2021 - 16.2.1.1044

    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

    emoji
  • Hi, Paul, thank you so much for your response. I have reset Studio and also recreated the term base. Alas, I am still receiving the same error message, albeit it is much shorter now...  Does this have something to do with the fact that I changed the pretranslate percentage to 70 percent? (I am working with a document that takes a large chunk from a template document, so having a 100 percent on pretranslate slows everything down significantly. I have set the search percentage for the TM to 51%. Do pretranslate and search need to be the same percentage?).   

    The full error message now reads:

    <SDLErrorDetails time="11/17/2022 9:20:46 AM">
    <ErrorMessage>Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment.
    <cG><c>16493</c><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">Gabby</tr><dt>2017-07-20T10:26:32</dt></trG><lG><l lang="EN-US" type="English"/><tG id="55"><t>trafficking in persons</t><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG></tG><tG id="25"><t>human trafficking</t><trG id="28"><tr type="origination">Gabby</tr><dt>2014-02-06T</ErrorMessage>
    <Exception>
    <Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.MultiTerm.Core.XmlProcessor</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[ at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)
    at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(MultiTermTermbase termbase, Int32 id)
    at Sdl.MultiTerm.Client.TerminologyProvider.MultiTermTermbase.GetEntry(Int32 id)
    at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(Int32 id)
    at Sdl.MultiTerm.Client.TerminologySearch.TermRecognitionHit.get_Entry()
    at Sdl.TranslationStudio.Editor.Terminology.TermBaseAutoSuggestProvider.GetSuggestionData(EditingContext context)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionDataProviders.GetSuggestionData(EditingContext context)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
    at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
    at AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
    at AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
    at FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
    at FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
    at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
    at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
    at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
    at System.Windows.Forms.Control.DefWndProc(Message& m)
    at System.Windows.Forms.Control.WmKeyChar(Message& m)
    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>
    <InnerException>
    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>System.Xml</Source>
    <HResult>-2146233079</HResult>
    <StackTrace><![CDATA[ at System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition(Token token, State currentState)
    at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
    at System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns)
    at System.Xml.XmlWriter.WriteStartElement(String localName)
    at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>GABBYAIO\gparn</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>GABBYAIO</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16538444 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    emoji
Reply
  • Hi, Paul, thank you so much for your response. I have reset Studio and also recreated the term base. Alas, I am still receiving the same error message, albeit it is much shorter now...  Does this have something to do with the fact that I changed the pretranslate percentage to 70 percent? (I am working with a document that takes a large chunk from a template document, so having a 100 percent on pretranslate slows everything down significantly. I have set the search percentage for the TM to 51%. Do pretranslate and search need to be the same percentage?).   

    The full error message now reads:

    <SDLErrorDetails time="11/17/2022 9:20:46 AM">
    <ErrorMessage>Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment.
    <cG><c>16493</c><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">Gabby</tr><dt>2017-07-20T10:26:32</dt></trG><lG><l lang="EN-US" type="English"/><tG id="55"><t>trafficking in persons</t><trG><tr type="origination">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG><trG><tr type="modification">GabyCarlos</tr><dt>2010-09-09T08:54:41</dt></trG></tG><tG id="25"><t>human trafficking</t><trG id="28"><tr type="origination">Gabby</tr><dt>2014-02-06T</ErrorMessage>
    <Exception>
    <Type>System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.MultiTerm.Core.XmlProcessor</Source>
    <HResult>-2146233088</HResult>
    <StackTrace><![CDATA[ at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)
    at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(MultiTermTermbase termbase, Int32 id)
    at Sdl.MultiTerm.Client.TerminologyProvider.MultiTermTermbase.GetEntry(Int32 id)
    at Sdl.MultiTerm.Client.TerminologyProvider.TerminologyPrioviders.AbstractMultiTermTerminologyProvider.GetEntry(Int32 id)
    at Sdl.MultiTerm.Client.TerminologySearch.TermRecognitionHit.get_Entry()
    at Sdl.TranslationStudio.Editor.Terminology.TermBaseAutoSuggestProvider.GetSuggestionData(EditingContext context)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionDataProviders.GetSuggestionData(EditingContext context)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.SuggestionWindow.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset, Int32 imeBehavior)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ShowSuggestionWindow(Form parent, ISideBySideDocumentEditingView view, SideBySideEditor editor, ISuggestionDataProvider suggestionDataProvider, SuggestionSite site, Char firstChar, Int32 sourceStartPosition, SuggestionMode mode, ITranslatableDocumentEditorSettings settings, Boolean requireCaseResolving, Boolean incrementTextOffset)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.LaunchIntellisenseWindow(Boolean keyPressed, Char lastChar, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.ProcessDocumentContentChanged(List`1 operations, Boolean afterImeCompositionUpdate)
    at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.IntellisenseEditing.Document_ContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs e)
    at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
    at AbstractFrameworkDocument.raise_ContentChanged(Object value0, FrameworkDocumentContentChangedEventArgs value1)
    at AbstractFrameworkDocument.OnContentChanged(Object sender, FrameworkDocumentContentChangedEventArgs args)
    at FrameworkDocumentEventSource.RaiseContentChanged(FrameworkDocumentEventSource* )
    at FrameworkDocumentEventSource.vv_AfterCompositeCommandCompleted(FrameworkDocumentEventSource* )
    at Tree.DocumentControl.vl_WindowProc(DocumentControl* , HWND__* , UInt32 , UInt32 , Int32 )
    at FrameworkDocumentControl.vl_WindowProc(FrameworkDocumentControl* , HWND__* h_wnd, UInt32 n_msg, UInt32 w_p, Int32 l_p)
    at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
    at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
    at System.Windows.Forms.Control.DefWndProc(Message& m)
    at System.Windows.Forms.Control.WmKeyChar(Message& m)
    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>
    <InnerException>
    <Type>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>System.Xml</Source>
    <HResult>-2146233079</HResult>
    <StackTrace><![CDATA[ at System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition(Token token, State currentState)
    at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
    at System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns)
    at System.Xml.XmlWriter.WriteStartElement(String localName)
    at Sdl.MultiTerm.Core.XmlProcessor.EntryXmlProcessor.Transform(String inputXml)]]></StackTrace>
    </InnerException>
    </Exception>
    <Environment>
    <ProductName>Trados Studio</ProductName>
    <ProductVersion>Studio16</ProductVersion>
    <EntryAssemblyFileVersion>16.2.12.9338</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
    <ServicePack>NULL</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>1252</CodePage>
    <LoggedOnUser>GABBYAIO\gparn</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
    <ComputerName>GABBYAIO</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>16538444 MB</PhysicalMemory>
    </Environment>
    </SDLErrorDetails>

    emoji
Children