Problem using server based memories

As an SDL beginner I have the task to create an automated process for a customer. As long as the process uses file-based memories, everything works out fine. As soon as the process is to use server-based memories from the groupshare server, the process does not generate any results. All files that are expected are created. But there are no matches. It is as if no memories are given.

Does anyone have an idea what the process is missing? The code to access the memories is ...

Dim tmpConfig As TranslationProviderConfiguration = mySDLProject.GetTranslationProviderConfiguration()
Dim tmpUri As New Uri(My.Settings.SDL_Groupshare_URL)
Dim tmpUserName As String = My.Settings.SDL_Groupshare_Username
Dim tmpPassword As String = My.Settings.SDL_Groupshare_Password

Dim tmpMemory As ServerBasedTranslationMemory
Dim tmpTmServer As New TranslationProviderServer(tmpUri, False, tmpUserName, tmpPassword)

Dim tmpRoot As String = My.Settings.SDL_Groupshare_TMLocation
Dim tmpTM As String = "/" & myFileTm
Dim tmpLocation As String = tmpRoot & tmpTM
tmpMemory = tmpTmServer.GetTranslationMemory(tmpLocation, TranslationMemoryProperties.All)

Dim tmpTranslationProviderReference As New TranslationProviderReference(tmpMemory.Uri, tmpMemory.SerializeState, True)
Dim tmpTranslationProviderCascadeEntry As New TranslationProviderCascadeEntry(tmpTranslationProviderReference, True, True, True)
tmpConfig.Entries.Add(tmpTranslationProviderCascadeEntry)
mySDLProject.UpdateTranslationProviderConfiguration(tmpConfig)

mySDLProject.Credentials.AddCredential(tmpUri, False, tmpUserName, tmpPassword)
mySDLProject.UpdateProject(mySDLProjectInfo)

Parents Reply
  • Hello Jesse
    Appreciate your quick response. I tried it and it didnot help me much.
    Still stuck :-(

    Kindly note that we are working with File-based projects (concept) which is actually trying to communicate with server-based TM files.
    Any help would be highly appreciated.

    NB: Initially , our API could successfully communicate with the file-based TM files and the returned analysis report was correct. Now we wanted to implement the server based TMs and everything works fine without any errors but the returned analysis report is incorrect. (compared it with the same source file)
Children
No Data