Menu

KeePass 2.06 in Windows 7

Help
2008-12-02
2012-11-19
  • John L. Galt

    John L. Galt - 2008-12-02

    Dominic,

    Been using the 2.x alphas as soon as they come out and I have not had a problem - until now.

    This is the second time I had used this in W7, but the first time I attempted an autotype - and I receved the following:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
       at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format, BitmapData bitmapData)
       at System.Drawing.Bitmap.LockBits(Rectangle rect, ImageLockMode flags, PixelFormat format)
       at System.Windows.Forms.ControlPaint.CreateHBitmapTransparencyMask(Bitmap bitmap)
       at System.Windows.Forms.ImageList.AddToHandle(Original original, Bitmap bitmap)
       at System.Windows.Forms.ImageList.ImageCollection.Add(Original original, ImageInfo imageInfo)
       at System.Windows.Forms.ImageList.ImageCollection.Add(Image value)
       at KeePass.UI.UIUtil.CreateEntryList(ListView lv, IEnumerable`1 vEntries, List`1 vColumns, ImageList ilIcons)
       at KeePass.Forms.EntryListForm.OnFormLoad(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    KeePass
        Assembly Version: 2.0.6.20046
        Win32 Version: 2.0.6.0
        CodeBase: file:///D:/USB%20Key%20Drive/PortableApps/KeePassPortable/App/keepass/keepass.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    KeePass.XmlSerializers
        Assembly Version: 2.0.6.20046
        Win32 Version: 2.0.6.20046
        CodeBase: file:///D:/USB%20Key%20Drive/PortableApps/KeePassPortable/App/keepass/KeePass.XmlSerializers.DLL
    ----------------------------------------
    System.Security
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3506 (NetFXspW7.050727-3500)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Any ideas on this one?

     
    • John L. Galt

      John L. Galt - 2009-01-10

      Error still persisting in Windows 7 Build 7000 *official* release from M$ - oth 32bit and 64bit versions of OS.

       
    • Dominik Reichl

      Dominik Reichl - 2009-01-11

      I was able to reproduce the problem with Windows 7 Beta Build 7000, and have implemented a workaround.

      Here's the latest KeePass 2.x development snapshot for testing (only!):
      http://keepass.info/filepool/KeePass_090111b.zip

      Best regards
      Dominik

       
    • Andrew Birch

      Andrew Birch - 2009-01-17

      Thanks again Dominik, the 090111b.zip is working for me in Windows 7 official beta.

      I'm using an ftp url which is proving to be highly satisfactory.

      Andrew.

       
    • John L. Galt

      John L. Galt - 2009-01-18

      Dominik,

      Auto Type is working with the trunk release you posted.

      I attempted an Auto Type from KP to both Fx 3.1b2 and IE 8, both in Windows 7 - both worked just as they are supposed to.

      Thanks again!

       

Log in to post a comment.

MongoDB Logo MongoDB