Getting error "Input string was not in the correct format." … can't open or create any TMs (at all)

I moved a couple of things around, and am all the sudden constantly getting an error every time I try to open or create a TM:

 

"Input string was not in the correct format."

 

I tried uninstalling SDL Studio 2017 using Revo uninstaller (which removes absolutely everything), and installing it from scratch, but I'm still getting the same problem. Does anyone here have any idea what is going on here?

 

Michael 

  • Hi Michael,

    What did you actually move?  That might be useful information to help narrow this down a bit.

    In the meantime, I have no idea what Revo Installer will do (I'm sure it's brilliant) but I'd go old fashioned and try the following:

    Uninstall Studio

    Manually remove the following folders

    c:\Users\[USERNAME]\Documents\Studio 2017\Projects\projects.xml

    c:\Users\[USERNAME]\Documents\Studio 2017\Project Templates\

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

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

    c:\Users\[USERNAME]\AppData\Roaming\SDL\ProjectApi\14.0.0.0\

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

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

    c:\ProgramData\SDL\SDL Trados Studio\14\

    c:\ProgramData\SDL\SDL Trados Studio\14.0.0.0\

    c:\ProgramData\SDL\SDL Trados Studio\Studio5\

    c:\Program Files (x86)\SDL\SDL Trados Studio\Studio5\

    Then reinstall Studio.  If that still fails to help then I'd recommend you log a support case.

    Regards

    Paul

    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

  • :-(

    Did exactly what you said, but am getting this error when starting Studio, and if I click it away TMs still don't work:

     

     I also had to reinstall about 4 SDL Apps before Studio would even start properly. When I have a moment, I'll send in a support request!

  • Hello Michael,

    This looks familiar to me but I can't recall what the problem was!! Can you also try installing and running Studio as admin, and maybe also test out running Studio with your AV disabled?

    Regards

    Paul

    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,

    OK, so I tried both. And it didn't change anything.

     

    Funnily enough, I decided to try to completely remove Studio from my computer again and start from scratch. However, neither am I unable to deactivate my licence, as I get the following error:

     

     

    So now I have the same problem where I am unable to create or open TMs, and I can't deactivate my licence. I will send in a support request.

     

    Michael

  • OK, so Support told me how to get around the problem of not being able to deactivate my licence (see * below), and so I did, and then removed EVERYTHING even remotely related to SDL from my computer.

    I deleted everything here:

    c:\Users\MJWB\Documents\Studio 2017\Projects\projects.xml

    c:\Users\MJWB\Documents\Studio 2017\Project Templates\

    c:\Users\MJWB\AppData\Roaming\SDL\SDL Trados Studio\14\

    c:\Users\MJWB\AppData\Roaming\SDL\SDL Trados Studio\14.0.0.0\

    c:\Users\MJWB\AppData\Roaming\SDL\ProjectApi\14.0.0.0\

    c:\Users\MJWB\AppData\Local\SDL\SDL Trados Studio\14\

    c:\Users\MJWB\AppData\Local\SDL\SDL Trados Studio\14.0.0.0\

    c:\ProgramData\SDL\SDL Trados Studio\14\

    c:\ProgramData\SDL\SDL Trados Studio\14.0.0.0\

    c:\ProgramData\SDL\SDL Trados Studio\Studio5\

    c:\Program Files (x86)\SDL\SDL Trados Studio\Studio5\

    I ran CCleaner.

    I even searched through my registry manually in regedit and deleted a key related to my licence, mentioned here: 

    producthelp.sdl.com/.../8835.html

    HOWEVER, after restarting, and installing SDL Studio from scratch, I can't open the program as I get this error:

     

     

    This seems to indicate there are still traces of SDL stuff left on my PC (but where!?!). I then installed Glossary Converter, but then got the following when I tried to start Studio:

    I then installed Menu Maker (even though I don't need/want it), and a few other SDL Apps, until I was finally able to start Studio.

     

    However, I still can't create or open any TMs!! as I am still getting the error message: "Input string was not in a correct format."

     

    *****************************

    * Close SDL Trados Studio 2015.

    Open Windows Explorer.

    Go to C:\ProgramData\SDL\SDL Trados Studio\Studio4\Data. If you do not see the ProgramData folder, follow these steps to unhide it.

    Rename the file Studio.lic, e.g. to Studio_old.lic.

    You can now activate any available license on the machine.

  • Hi Michael,

    I reckon you just need to remove the shortcut to the glossary converter in here:

    c:\ProgramData\Microsoft\Windows\Start Menu\Programs\SDL Trados Studio 2017 Apps\

    Regards

    Paul

    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

  • Hmm, weird. So now memoQ won't import .docx files, and guess what the error is? "Input string was not in a correct format." Here is the full error, in case it means anything to anyone:

    General error.
    TYPE:
    System.Reflection.TargetInvocationException
    
    MESSAGE:
    Exception has been thrown by the target of an invocation.
    
    SOURCE:
    mscorlib
    
    CALL STACK:
    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
    at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
    at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(Type type, Boolean nonPublic)
    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at MemoQ.DocConverterFramework.DocumentConverterFactory.ConverterCache.GetDocConverter(PredicateWithParam`1 predicate, Object param)
    at MemoQ.DocConverterFramework.DocumentConverterFactory.GetConverter(String filePath)
    at MemoQ.DocConverterFramework.BasicImportExaminer`1.examineOne(ImportTask importTask)
    at MemoQ.DocConverterFramework.BasicImportExaminer`1.<>c__DisplayClass5_0.<DoJob>b__0(ImportTask importTask)
    at MemoQ.Common.Threading.TaskExtensions.<>c__DisplayClass8_1`1.<ExecuteParallel>b__1()
    at System.Threading.Tasks.Task.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    ------------------ Inner exception ------------------
    
    TYPE:
    System.FormatException
    
    MESSAGE:
    Input string was not in a correct format.
    
    SOURCE:
    mscorlib
    
    CALL STACK:
    at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
    at MemoQ.DocConverters.XML.XmlFilterConfiguration_v2.LoadDataContent(Stream stream)
    at MemoQ.DocConverters.DOCX.DOCXConverterConfiguration..ctor()
    at MemoQ.DocConverters.MSWord.MSWordConverterConfiguration..ctor(Boolean hasitags, Boolean bilingualRtf)
    at MemoQ.DocConverters.MSWord.MSWordConverter..ctor()
    ------------------------------------------------------------------------------
    The operation has been completed with some errors.

  • That's funny! Maybe it's word 2016 and the file contains some content that memoQ has not been updated to handle? I think their filetype is up to 2013, but generally lets later formats in unless they contain some new feature.

    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 Michael,

    Seeing that both Trados Studio and MemoQ are having an issue, this isn't a problem with either of these programs, but it looks to be a deeper issue in your Windows settings.
    Did you change anything with the regional settings or change the language?
    If you did, I would recommend changing it back to what you had before and seeing if this solves the issue.

    This can happen when there is a corrupt value in the registry:

    https://support.microsoft.com/en-us/help/942460/system.formatexception-occurs-when-attempting-to-convert-a-numeric-string-to-a-numeric-data-type