"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
  • Additional information: I followed the advice here and opened the UserSettings.xml file in Notepad++, and can confirm that this contains both my AutoText lists (en-US and en-GB).

    Also, Studio is still retrieving entries from my my lists while I'm translating, and I can still add to them while translating.

    Hayley

  • Normally the only way to solve this sort of problem is a reset.  But if you do this you will lose everything in your usersettings.xml.  Given this may well be the source of the problem not resetting it is a bit of a tricky one to sort out, so I would try this first.  Just rename this folder and see if this allows you to access the options page for exporting the autotext.  If it does you're half way there.

    Now take a copy of the usersettings.xml that was in the folder you renamed and copy the items from between these elements:

    <Setting Id="IntellisenseUserPreference-AutoText-Entries">
    en-US
    entry one
    entry two
    entry three</Setting>

    Paste them into a text file saved as UTF-8 and with a BOM to avoid any encoding issues.  I saved one here to give you a head start... note you'll need the correct language code at the head:

    8420.at.zip

    Then import this list into your AutoText via Studio.

    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,

    Thanks for your answer. You didn't specify which folder I should rename, but I presume you meant the following:
    C:\Users\[username]\AppData\Roaming\SDL\SDL Trados Studio\14.0.0.0

    I did already try that as follows:
    - Exported User Profile (.sdlprofile)
    - Closed Studio
    - Renamed 14.0.0.0 folder
    - Re-opened Studio
    - Selected previously exported User Profile file (.sdlprofile)
    - The problem wasn't resolved.

    I also opened the UserSettings.xml file in Notepad++ and copied my two AutoText lists out of that into separate .txt files so I do now have them backed up.

    Is what you suggested any different to doing that?
    Also, I posted in the Facebook group (I think you are a member?) about this issue, and posted a screenshot showing that she was getting the same error message as me when she tried to go into her AutoText settings. 
    Here's the discussion on Facebook: 

    https://www.facebook.com/groups/SDLTradosStudioUsers/permalink/2922830774440753/

    Hayley

  • Also, I posted in the Facebook group (I think you are a member?)

    Might be... never use it.

    I did already try that as follows:
    - Exported User Profile (.sdlprofile)
    - Closed Studio
    - Renamed 14.0.0.0 folder
    - Re-opened Studio
    - Selected previously exported User Profile file (.sdlprofile)
    - The problem wasn't resolved.

    What happens if you repeat this, but don't import your old sdlprofile?

    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. I've just tried, and got the same error (details below). So that presumably means the problem isn't in my User Profile? Is there something else I can try?
    Hayley 
    Error message in Trados Studio stating 'Failed to create setting page' with a 'Value cannot be null' warning and a stack trace listing various system and Trados Studio components.
    Hayley

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 8:48 PM (GMT 0) on 28 Feb 2024]
  • 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 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. 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 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 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 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