Exception when loading a FileBasedTranslationMemory object

I had this working yesterday, but for some unknown reason when I open a FileBasedTranslationMemory, I get the following exception when I try to one of its  properties.

An unhandled exception of type 'Sdl.LanguagePlatform.Core.LanguagePlatformException' occurred in Sdl.LanguagePlatform.TranslationMemoryApi.dll

Additional information: The type initializer for 'Sdl.LanguagePlatform.TranslationMemoryImpl.Storage.SqliteStorage' threw an exception.

 

My code looks like this:

Imports Sdl.LanguagePlatform.TranslationMemory

Imports Sdl.LanguagePlatform.TranslationMemoryApi

Imports Sdl.LanguagePlatform.Core

 

Public Class Form1

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

Dim fileTm As FileBasedTranslationMemory

Dim tmPath As String = "xxxxxxxxxxxxxxxxxxxxxxxx"

fileTm = New FileBasedTranslationMemory(tmPath)

Dim sourceLang As String = fileTm.LanguageDirection.SourceLanguage.DisplayName.ToString()

 

End Sub

End Class

The fileTm object is actually opening as a FileBasedTranslationMemory. But most of its properties are showing an error. This was working fine yesterday and I don't know what has changed to make it not work.

 

Screenshot of Trados Studio error message showing multiple lines of 'An unhandled exception of type Sdl.LanguagePlatform.Core.LanguagePlatformException occurred in Sdl.LanguagePlatform.TranslationMemoryApi.dll'.

Thanks for any help.

Robert



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