Issue #4 resolved

KeeOTP 1.2 System.IO.FileNotFoundException after entering Base32 encoded key and click on OK

Anonymous created an issue

** Exception Text ** System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

at KeeOtp.OtpAuthData.get_EncodedString() at KeeOtp.ShowOneTimePasswords.AddEdit() at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- KeePass Assembly Version: 2.19.0.18206 Win32 Version: 2.19.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe/KeePass.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.278 built by: RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL...

Comments (3)

  1. Devin Martin repo owner

    It looks like this is caused by not having a dependency on your system. This was built against the .net 2.0 framework however I see that you are loading .net 4.0. I am betting that you have the 4.0 client profile installed on your machine which doesn't include the System.Web assembly. Installing the full .net framework will likely fix this issue.

    I'll look into removing that dependency.

  2. Log in to comment