Error message when opening Trados Studio: Service 'Sdl.TranslationStudio.Api.ProjectManagement.IProjectManagementService' could not be started

The solutions used in the article 000001429 didn't help.

Please help me to find the solution.

  • Hello ,

    Have you tried all the solutions in the article mentioned?

    Perhaps you could post the full error stack  as this may provide further information

    Error message dialog box with instructions: 1) Click on the icon, 2) Save the XML file to your desktop, 3) Add file to the thread.

    It would also be useful to know the exact version of Studio you are running along with the operating system.

    In the meantime it would be advised to make sure everything is up-to-date (Drivers/OS/Studio etc)

    community.sdl.com/.../how-to-part-1-trouble-shoot-unexplained-errors-and-unwanted-behaviour-in-studio-multiterm

    Oana Nagy | 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 1:06 PM (GMT 0) on 4 Mar 2024]
  • Hello Steven,

    I enclose the XML file.

    My version of Studio is the folowing:

    SDL Trados Studio splash screen displaying version 2019 SR2 - 15.2.8.3007 and message 'Loading application window...'.

    <SDLErrorDetails time="09/03/2021 10:34:39">
      <ErrorMessage>Service 'Sdl.TranslationStudio.Api.ProjectManagement.IProjectManagementService' could not be started.</ErrorMessage>
      <Exception>
        <Type>Sdl.Desktop.Platform.Services.ServiceStartException, Sdl.Desktop.Platform, Version=15.2.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetLocalService[T]()
       w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetService[T]()
       w Sdl.TranslationStudio.Api.ProjectManagement.Conditions.CurrentProjectCondition.OnServiceContextChanged()
       w Sdl.Desktop.Platform.Extensions.AbstractServiceContextAwareCondition.set_ServiceContext(IServiceContext value)
       w Sdl.Desktop.Platform.Extensions.AbstractConditionInitializer.InitializeCondition(ICondition condition)
       w Sdl.Desktop.Platform.Extensions.ConditionHelper.GetCondition(IExtension extension, ConditionResult conditionResult, IConditionInitializer initializer)
       w Sdl.Desktop.Platform.Implementation.ViewReference..ctor(StudioWindow window, ViewDescriptor descriptor)
       w Sdl.Desktop.Platform.Implementation.StudioWindow.Init(IEventAggregator eventAggregator)
       w Sdl.Desktop.Platform.Implementation.Studio.CreateWindowInternal(Boolean setActive, IEventAggregator eventAggregator)
       w Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IEventAggregator eventAggregator)
       w Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
        <InnerException>
          <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=15.1.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
          <HelpLink />
          <Source>Sdl.ProjectApi.Implementation</Source>
          <HResult>-2146233088</HResult>
          <StackTrace><![CDATA[   w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.Load(String localDataFolder)
       w Sdl.ProjectApi.Implementation.Application.GetProjectsProviderRepository(ProjectsProviderInfo providerInfo, ProjectPathUtil projectPathUtil)
       w Sdl.ProjectApi.Implementation.Application.CreateProjectsProvider(ProjectsProviderInfo providerInfo, IProjectOperation operationComposite)
       w Sdl.ProjectApi.Implementation.Application.GetProjectsProvider(ProjectsProviderInfo providerInfo, IProjectOperation operationComposite)
       w Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.InitLocalProjectServer(ProjectOperationsComposer operationComposer)
       w Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.OnStart()
       w Sdl.Desktop.Platform.Services.AbstractService.Start(IServiceContext context)
       w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetLocalService[T]()]]></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[   w System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       w System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
       w Sdl.ProjectApi.Implementation.Xml.ProjectServer.Deserialize(Stream stream)
       w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.GetProjectServer(String projectServerFilePath)
       w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.Load(String localDataFolder)]]></StackTrace>
            <InnerException>
              <Type>System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
              <LineNumber>437</LineNumber>
              <LinePosition>129</LinePosition>
              <SourceUri />
              <HelpLink />
              <Source>System.Xml</Source>
              <HResult>-2146232000</HResult>
              <StackTrace><![CDATA[   w System.Xml.XmlTextReaderImpl.Throw(Exception e)
       w System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       w System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
       w System.Xml.XmlTextReaderImpl.ParseAttributes()
       w System.Xml.XmlTextReaderImpl.ParseElement()
       w System.Xml.XmlTextReaderImpl.ParseElementContent()
       w System.Xml.XmlTextReaderImpl.Read()
       w System.Xml.XmlTextReader.Read()
       w System.Xml.XmlReader.ReadEndElement()
       w System.Xml.Serialization.XmlSerializationReader.ReadEndElement()
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read71_ProjectListItem(Boolean isNullable, Boolean checkType)
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read75_ProjectServer(Boolean isNullable, Boolean checkType)
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read76_ProjectServer()
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.ProjectServerSerializer.Deserialize(XmlSerializationReader reader)
       w System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)]]></StackTrace>
            </InnerException>
          </InnerException>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Famille</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1045</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>LAPTOP-L2G4E9FR\frede</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPTOP-L2G4E9FR</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8269540 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Frederic Schneider



    Generated Image Alt-Text
    [edited by: Trados AI at 1:06 PM (GMT 0) on 4 Mar 2024]
  • Hello Steven,

    I enclose the XML file

    My version of studio is the following:

    SDL Trados Studio splash screen displaying version 2019 SR2 - 15.2.8.3007 and message 'Loading application window...'.

    <SDLErrorDetails time="09/03/2021 10:34:39">
      <ErrorMessage>Service 'Sdl.TranslationStudio.Api.ProjectManagement.IProjectManagementService' could not be started.</ErrorMessage>
      <Exception>
        <Type>Sdl.Desktop.Platform.Services.ServiceStartException, Sdl.Desktop.Platform, Version=15.2.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
        <HelpLink />
        <Source>Sdl.Desktop.Platform</Source>
        <HResult>-2146233088</HResult>
        <StackTrace><![CDATA[   w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetLocalService[T]()
       w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetService[T]()
       w Sdl.TranslationStudio.Api.ProjectManagement.Conditions.CurrentProjectCondition.OnServiceContextChanged()
       w Sdl.Desktop.Platform.Extensions.AbstractServiceContextAwareCondition.set_ServiceContext(IServiceContext value)
       w Sdl.Desktop.Platform.Extensions.AbstractConditionInitializer.InitializeCondition(ICondition condition)
       w Sdl.Desktop.Platform.Extensions.ConditionHelper.GetCondition(IExtension extension, ConditionResult conditionResult, IConditionInitializer initializer)
       w Sdl.Desktop.Platform.Implementation.ViewReference..ctor(StudioWindow window, ViewDescriptor descriptor)
       w Sdl.Desktop.Platform.Implementation.StudioWindow.Init(IEventAggregator eventAggregator)
       w Sdl.Desktop.Platform.Implementation.Studio.CreateWindowInternal(Boolean setActive, IEventAggregator eventAggregator)
       w Sdl.Desktop.Platform.Implementation.Studio.Run(ISplashScreen splashScreen, IEventAggregator eventAggregator)
       w Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
        <InnerException>
          <Type>Sdl.ProjectApi.ProjectApiException, Sdl.ProjectApi, Version=15.1.0.0, Culture=neutral, PublicKeyToken=c28cdb26c445c888</Type>
          <HelpLink />
          <Source>Sdl.ProjectApi.Implementation</Source>
          <HResult>-2146233088</HResult>
          <StackTrace><![CDATA[   w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.Load(String localDataFolder)
       w Sdl.ProjectApi.Implementation.Application.GetProjectsProviderRepository(ProjectsProviderInfo providerInfo, ProjectPathUtil projectPathUtil)
       w Sdl.ProjectApi.Implementation.Application.CreateProjectsProvider(ProjectsProviderInfo providerInfo, IProjectOperation operationComposite)
       w Sdl.ProjectApi.Implementation.Application.GetProjectsProvider(ProjectsProviderInfo providerInfo, IProjectOperation operationComposite)
       w Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.InitLocalProjectServer(ProjectOperationsComposer operationComposer)
       w Sdl.TranslationStudio.ProjectManagement.ProjectManagementService.OnStart()
       w Sdl.Desktop.Platform.Services.AbstractService.Start(IServiceContext context)
       w Sdl.Desktop.Platform.Implementation.Services.ServiceContext.GetLocalService[T]()]]></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[   w System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       w System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
       w Sdl.ProjectApi.Implementation.Xml.ProjectServer.Deserialize(Stream stream)
       w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.GetProjectServer(String projectServerFilePath)
       w Sdl.ProjectApi.Implementation.ProjectsProviderRepository.Load(String localDataFolder)]]></StackTrace>
            <InnerException>
              <Type>System.Xml.XmlException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
              <LineNumber>437</LineNumber>
              <LinePosition>129</LinePosition>
              <SourceUri />
              <HelpLink />
              <Source>System.Xml</Source>
              <HResult>-2146232000</HResult>
              <StackTrace><![CDATA[   w System.Xml.XmlTextReaderImpl.Throw(Exception e)
       w System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
       w System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
       w System.Xml.XmlTextReaderImpl.ParseAttributes()
       w System.Xml.XmlTextReaderImpl.ParseElement()
       w System.Xml.XmlTextReaderImpl.ParseElementContent()
       w System.Xml.XmlTextReaderImpl.Read()
       w System.Xml.XmlTextReader.Read()
       w System.Xml.XmlReader.ReadEndElement()
       w System.Xml.Serialization.XmlSerializationReader.ReadEndElement()
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read71_ProjectListItem(Boolean isNullable, Boolean checkType)
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read75_ProjectServer(Boolean isNullable, Boolean checkType)
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.XmlSerializationReaderProjectServer.Read76_ProjectServer()
       w Sdl.ProjectApi.Implementation.XmlSerialization.ProjectServerSerialization.ProjectServerSerializer.Deserialize(XmlSerializationReader reader)
       w System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)]]></StackTrace>
            </InnerException>
          </InnerException>
        </InnerException>
      </Exception>
      <Environment>
        <ProductName>SDL Trados Studio</ProductName>
        <ProductVersion>15.0.0.0</ProductVersion>
        <EntryAssemblyFileVersion>15.2.8.3007</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 10 Famille</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1045</OperatingSystemLanguage>
        <CodePage>1250</CodePage>
        <LoggedOnUser>LAPTOP-L2G4E9FR\frede</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>LAPTOP-L2G4E9FR</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>8269540 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Frederic Schneider



    Generated Image Alt-Text
    [edited by: Trados AI at 1:07 PM (GMT 0) on 4 Mar 2024]
  • Hello  ,

    It looks as though the projects .xml is causing the problem (corrupt).

    1. Delete the projects.xml file from C:\Users\yourname\Documents\Studio 2019\Projects so that you are able to start Studio.
    2. After starting Studio, go to File > Setup > Users and edit the user info in there. Make sure you type the information and not copy-paste it.
    3. Close Studio and delete the projects.xml file before starting it again.

    Please let me know if this resolves the issue.

    Oana Nagy | 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 there - I'm having the same problem. When I follow the advice above, there is no projects.xml file in my Projects folder. 

    Screenshot of Trados Studio error message stating 'The project could not be opened' with an advice dialog box and a Windows Explorer window showing an empty Projects folder.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:07 PM (GMT 0) on 4 Mar 2024]
  • Hello

    You need to check in "Projects" folder not in "Project Templates" folder.

    Thank you,

    Sorin

  • Hello Steve,

    I checked it with a Trados representative in Poland.

    There is no such file in this folder as you can see :

    Screenshot of a Trados Studio folder directory showing no file present as mentioned, with folders named '00-00-00 System', 'Samples', and '00-00-00 System_1'.

    What am I supposed to do ?

    Frederic Schneider

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:07 PM (GMT 0) on 4 Mar 2024]
  • Hi there

    I managed to sort it - OneDrive was the culprit!

    Thanks for your time though, much appreciated.

    Regards

    Jo

  • Hello,

    As you can see on the screen print, I did check in the "Project" folder.

    And I still have the same problem:

    Error message window on top of SDL Trados Studio 2019 SR2 loading screen, stating 'Service 'Sdl.TranslationStudio.Api.ProjectManagement.IProjectManagementService' could not be started.'

    Frederic Schneider

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:07 PM (GMT 0) on 4 Mar 2024]