"Failed to create setting page" - Options > AutoSuggest > AutoText (Studio 2017)

Hello,

I'm using Studio 2017. I want to export my AutoText list, but when I go into Options > AutoSuggest > AutoText, I get the error message "Failed to create a setting page":

Error message in Trados Studio 2017 stating 'Failed to create setting page' with details of a 'Value cannot be null' ArgumentNullException.

I've restarted Studio, and restarted my PC, but haven't tried anything more drastic yet.

Does anyone know how to resolve this issue?

Thank you,

Hayley



Generated Image Alt-Text
[edited by: Trados AI at 8:48 PM (GMT 0) on 28 Feb 2024]
emoji
Parents Reply Children
  • Is it possible for you to save the full error message?  At the bottom of the error window there should be a small disk icon you can click and then save the file as XML to your desktop.  You can then attach that file to this thread and it'll be rendered nicely so we can see it properly.

    Paul Filkin | RWS

    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. Yes, of course. Aino Slej offered to send me her error file too, so I'm attaching both here.
    Thanks,
    Hayley

    <SDLErrorDetails time="06/04/2020 11:35:30">
      <ErrorMessage>Failed to create setting page.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName>key</ParamName>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextControl.set_CurrentLanguage(Language value)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPageControl.InitializeComponent()
       at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPageControl..ctor()
       at Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPage.GetControl()
       at Sdl.Desktop.Platform.WinForms.SettingsUIControl._tree_AfterActivate(Object sender, NodeEventArgs e)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1036</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-LEVAH\Hayley Leva</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-LEVAH</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8261644 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    <SDLErrorDetails time="08-04-2020 19:06:53">
      <ErrorMessage>Failed to create setting page.</ErrorMessage>
      <Exception>
        <Type>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
        <ParamName>key</ParamName>
        <HelpLink />
        <Source>mscorlib</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   ved System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
       ved Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextControl.set_CurrentLanguage(Language value)
       ved Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPageControl.InitializeComponent()
       ved Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPageControl..ctor()
       ved Sdl.TranslationStudio.Editor.TranslationEditor.Intellisense.AutoSuggestAutoTextPage.GetControl()
       ved Sdl.Desktop.Platform.WinForms.SettingsUIControl._tree_AfterActivate(Object sender, NodeEventArgs e)]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>14.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>14.1.10018.54792</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1030</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>DESKTOP-HJ7KR25\Aino Slej</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>DESKTOP-HJ7KR25</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8197876 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

  • This was really helpful... but unfortunately means you are going to have to rollback to CU17.  It seems you are both two of several users who have encountered a bug in CU18.  There is no workaround to this so you have to rollback.

    The process for this will be this:

    1. First of all download CU17 to your desktop from here:
      ftp://idinca:35VV70fY@supportftp.sdl.com/SDLTradosStudio2017_SR1_CU17_54688.zip

    2. Then uninstall the current version of 2017 making sure you use this one for the uninstall otherwise you'll have another error when you try to install CU17:
      Screenshot showing the uninstall option 'SDL Trados 2017 SR1 - Remove suite of products'.

    3. Once you have uninstalled this you can unzip the CU17 to your desktop and run the installer.

    Please make sure you only do it this order and uninstall using the "SDL Trados 2017 SR1 - Remove Suite of products" option because you will have problems installing a previous version otherwise.

    Paul Filkin | RWS

    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 8:48 PM (GMT 0) on 28 Feb 2024]
  • Hi Paul.

    Thanks for your answer. I've got several translations on the go at the moment, so I don't want to risk doing anything until those are off my desk. But even then... doesn't rolling back meaning there's a risk of other bugs "returning"? It seems a bit drastic given that the only issue (as far as I can tell) is the inaccessible AutoText screen. AutoText still works as it should once I'm in Editor view.

    If I do try rolling back, can you confirm whether the following are stored in my User Profile, or whether I need to save them separately:

    • Hunspell custom dictionary entries?
    • AppStore plug-ins?

    Thanks,

    Hayley

  • doesn't rolling back meaning there's a risk of other bugs "returning"?

    Yes it does.  So it means you need to weigh up what's more important for you and decide whether it's worth the risk of rolling back.

    Hunspell custom dictionary entries?

    These are stored here:

    c:\Users\[USERNAME]\AppData\Roaming\SDL\SpellChecker\CUSTOM.dic

    AppStore plug-ins?

    These are stored here:

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

    or here:

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

    or here:

    c:\ProgramData\SDL\SDL Trados Studio\15\Plugins\Packages\

    Just depends where you installed them.  The default is Roaming.

    Paul Filkin | RWS

    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