Invalid filechck.dll

Hi everyone

I am currently developing a simple WPF program using the ProjectAutomation API. However, when running unit tests, I run into the following exception on calling the "FileBasedProject" constructor:

Sdl.ProjectAutomation.FileBased.LicensingException was unhandled by user code
  Message=License check failed, with exception: System.ArgumentException: Invalid filechck.dll
   bei Sdl.Core.FileCheck.AbstractFileCheck..ctor(String fileCheckDll)
   bei Sdl.Core.FileCheck.NodeLockFileCheck..ctor(String fileCheckDll)
   bei Sdl.DesktopLicensing.Core.CoreLicenseManager.CreateProduct()
   bei Sdl.DesktopLicensing.Core.CoreLicenseManager.get_CurrentProduct()
   bei Sdl.DesktopLicensing.Core.CoreLicenseManager.GetLicense(Boolean checkOutLicense)
   bei Sdl.DesktopLicensing.Core.CoreLicenseManager.GetLicenseWithoutConsumingSeatsOrUsages()
   bei Sdl.ProjectApi.Licensing.LicenseCheckWithoutUsingNetworkSeat.get_License()
   bei Sdl.ProjectApi.Licensing.LicenseCheckWithoutUsingNetworkSeat.get_IsProfessional()
   bei Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()
  Source=Sdl.ProjectAutomation.FileBased
  StackTrace:
       bei Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()
       bei Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo projectInfo, ProjectTemplateReference templateReference)
       bei Sdl.ProjectAutomation.FileBased.FileBasedProject..ctor(ProjectInfo projectInfo)
       bei ch.diction.projectcreator.factory.SdlTradosStudioProjectFactory.createProject(ProjectSettings projectSettings) in C:\Users\pkesseli\Software\C#\project-creator\project-creator\src\ch\diction\projectcreator\factory\SdlTradosStudioProjectFactory.cs:Zeile 54.
       bei ch.diction.projectcreator.test.factory.SdlTradosStudioProjectFactoryTest.testCreateSingleSourceLanguageSingleTranslationTask() in C:\Users\pkesseli\Software\C#\project-creator\project-creator-test\src\ch\diction\projectcreator\test\factory\SdlTradosStudioProjectFactoryTest.cs:Zeile 31.
  InnerException: System.ArgumentException
       Message=Invalid filechck.dll
       Source=Sdl.Core.FileCheck
       StackTrace:
            bei Sdl.Core.FileCheck.AbstractFileCheck..ctor(String fileCheckDll)
            bei Sdl.Core.FileCheck.NodeLockFileCheck..ctor(String fileCheckDll)
            bei Sdl.DesktopLicensing.Core.CoreLicenseManager.CreateProduct()
            bei Sdl.DesktopLicensing.Core.CoreLicenseManager.get_CurrentProduct()
            bei Sdl.DesktopLicensing.Core.CoreLicenseManager.GetLicense(Boolean checkOutLicense)
            bei Sdl.DesktopLicensing.Core.CoreLicenseManager.GetLicenseWithoutConsumingSeatsOrUsages()
            bei Sdl.ProjectApi.Licensing.LicenseCheckWithoutUsingNetworkSeat.get_License()
            bei Sdl.ProjectApi.Licensing.LicenseCheckWithoutUsingNetworkSeat.get_IsProfessional()
            bei Sdl.ProjectAutomation.FileBased.FileBasedProject.CheckLicense()
       InnerException:

The innermost exception seems to be an ArgumentException proclaiming "Invalid filechck.dll". Since I've connected my machine to our license server and Studio starts without issues, I am unsure where this error might result from. There is only one "filechck.dll" in the Studio program folder, and copying it to the program location has no effect.

Thanks for any suggestions and best regards

Pascal

Parents
  • Hi!

    We faced the same issue. It is obviously related to the location of SDL Trados DLLs that your application is referencing to or its dependences. One of the workarounds should be to put your EXE file into the SDL Trados installation folder or to copy all dependent files from SDL Trados installation folder into your application folder (not only filechck.dll file).

    We found quite hard to understand which DLLs and resource files to include with our application. It will be nice to hear from someone else how to manage this more "elegantly" or to have possibility to get some more information about this from SDL team. In fact we found this part of API quite "confused".

    Thank you,

    Radivoj

  • Hi,

    In both cases your issue is most likely due to the licensing regime used by SDL Trados Studio 2011 as the file check DLL is a component of it.  Our licensing system (as of SDL Trados Studio 2011, previously was FLexLM) is based on technologies from Nalpeiron and to utilise the SDL Project Automation API from within your OpenExchange app, the instance of SDL Trados Studio 2011 your app is interacting with needs to be licensed for “Studio 2011 Pro”.  Only the Pro license level allows access to the Project Automation API, this is a hard requirement for your development and also any OpenExchange apps you produce that utilise the Project Automation API will only be able to be used by those holding a SDL Trados Studio 2011 Pro license.  This is stipulated in the API documentation.

    If you need a test license for SDL Trados Studio 2011 Pro please contact me directly at sdk-feedback@sdl.com and I will arrange it for you.

    Regards, Ian

    Ian Davies  |  Senior Product Manager | SDL | Language Technologies Division |  +44 7826843819

    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

  • But, as a matter of fact, I have a Studio 2011 Professional license available on my license server. This is the message being displayed:

    However, when opening Studio, I am often prompted by a product activation page and have to re-enter the server details, which immediately work. Is there something flawed with my product activation?

    Thanks for your support and best regards

    Pascal Kesseli

  • Hi,

    Concerning the product activation page, I have noticed that this page is always displayed after an "Invalid filechck.dll" error. It seems that this error resets the activation state.

    I have the same issue when developping a web service. With a WPF program, it rightly works.

    Regards,

    Phone Te

  • Thank you for your answer.

    That seems indeed to be the case. My activation state is reset every time that filecheck.dll exception occurs. However, my initial problem remains the same. Why would that exception occur in the first place with a valid Professional license registered? Copying all the files from the SDL program files folder over to my project did not solve the problem, either.

Reply Children