API cannot find default project template


I've updated my version of Trados Studio 2017 to the latest 14.1.10015.44945 and the tools we have build that uses the Studio API is having issues now when creating new project.

When we create a new project without a template we get this error:

Result StackTrace:
at Sdl.ProjectAutomation.FileBased.FileBasedProject.GetDefaultProjectTemplateReference()
at Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo projectInfo)
Result Message:
Test method Selingan.Trados2017Worker.Tests.CreateProjectStepTests.CreateProjectStepTest threw exception:
System.InvalidOperationException: Could not find the default project template. Run SDL Trados Studio to initialize the default project template.

The first thing we've tried was to run TS, but all look fine there, everything seems to be initialized properly and I can create a project manually without problem.

All those test were running fine in previous versions of Trados.

Is there some registry information we can update to avoid the error? Or something specific to do on the TS side that would somehow reset the location of the default project template?

Any pointer would be appreciated.


2 Replies Latest Replies: 18 Dec 2018 11:00 PM by Evzen Polenka
  • Hi Yves,

    Thanks for sharing this. I can confirm this is an issue in CU15 that will be addressed in next updates. Until then you can use the following workaround:

    1. Go to C:\Users\{YourWindowsUser}\Documents\Studio 2017
    2. Copy the Project Templates folder.
    3. Go to C:\Users\{YourWindowsUser}\Documents\
    4. Create a new "Studio 2018" folder.
    5. Go to C:\Users\{YourWindowsUser}\Documents\Studio 2018
    6. Paste the the Project Templates folder.