KPScript can't find KeePass assembly

2012-12-13
2012-12-13
  • Matthew Riley
    Matthew Riley
    2012-12-13

    Hi. Using the latest version of KeePass and KPScript results in the following error:

    Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'KeePass, Version=2.20.1.16631, Culture=neutral, PublicKeyToken=fed2ed7716
    aecf5c' or one of its dependencies. The system cannot find the file specified.
    File name: 'KeePass, Version=2.20.1.16631, Culture=neutral, PublicKeyToken=fed2ed7716aecf5c'
    at KPScript.Program.Main(String[] args)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

     
  • Paul
    Paul
    2012-12-13

    Did you run the script from the same directory as KeePass?
    Is KPscript in the same directory?

    cheers, Paul