Menu

Fatal Error - parameter is not valid

Help
Anonymous
2009-09-28
2012-11-19
  • Anonymous

    Anonymous - 2009-09-28

    Keepass 2.09 won't start. - Please I need help.

    I get a popup that says to send the info copied to clipboard to the developers.

    Parameter is not valid.

    System.Drawing
       at System.Drawing.Font.GetHeight(Graphics graphics)
       at System.Drawing.Font.get_SizeInPoints()
       at System.Drawing.SystemFonts.FontInPoints(Font font)
       at System.Drawing.SystemFonts.get_MenuFont()
       at System.Windows.Forms.ToolStripManager.get_DefaultFont()
       at System.Windows.Forms.ToolStripItem.get_Font()
       at System.Windows.Forms.ToolStripItemInternalLayout.CommonLayoutOptions()
       at System.Windows.Forms.ToolStripDropDownButton.ToolStripDropDownButtonInternalLayout.CommonLayoutOptions()
       at System.Windows.Forms.ToolStripItemInternalLayout.GetLayoutData()
       at System.Windows.Forms.ToolStripItemInternalLayout.PerformLayout()
       at System.Windows.Forms.ToolStripItem.OnBoundsChanged()
       at System.Windows.Forms.ToolStripDropDownItem.OnBoundsChanged()
       at System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       at System.Windows.Forms.ToolStripOverflowButton.SetBounds(Rectangle bounds)
       at System.Windows.Forms.ToolStripItem.set_Size(Size value)
       at System.Windows.Forms.ToolStrip.get_OverflowButton()
       at System.Windows.Forms.ToolStripSplitStackLayout.get_OverflowButtonSize()
       at System.Windows.Forms.ToolStripSplitStackLayout.LayoutHorizontal()
       at System.Windows.Forms.ToolStripSplitStackLayout.LayoutCore(IArrangedElement container, LayoutEventArgs layoutEventArgs)
       at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs)
       at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent)
       at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent)
       at System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       at System.Windows.Forms.Control.PerformLayout()
       at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       at System.Windows.Forms.ToolStrip..ctor()
       at System.Windows.Forms.MenuStrip..ctor()
       at KeePass.UI.CustomMenuStripEx..ctor()
       at KeePass.Forms.MainForm.InitializeComponent()
       at KeePass.Forms.MainForm..ctor()
       at KeePass.Program.Main(String args)
    Single GetHeight(System.Drawing.Graphics)

     
  • Paul

    Paul - 2009-09-28

    That's just Microshaft trying to stop you asking them why it's broke!

    Can you tell us what does/doesn't happen and post all of the debug text?

    cheers, Paul

     
  • Anonymous

    Anonymous - 2009-09-28

    Pasted above is entire clipboard debug text, I didn't leave anything out. It just has a pop-up window explaining that a fatal error occurred, and to paste the clipboard text to the developers, which is what I did in the orignal message.

    There is a button on the panel that says "OK" and when you click it, the panel disappears and I am back to my plain old desktop.

    **What does happen**: fatal error pop-up with "OK" button
    **What doesn't happen**: Keepass opening

     
  • Web-Crawling Stickler

    Try deleting or renaming your (http://keepass.info/help/base/configuration.html), then restarting KeePass. It looks like there's probably an invalid parameter saved in the configuration - a missing font or something.

     
  • Paul

    Paul - 2009-09-29

    Do you have .NET V2?

    cheers, Paul

     
  • Anonymous

    Anonymous - 2009-10-05

    It was a font issue. I had changed some system font defaults in the registry and this was causing the error.

    Here is the registry patch to reset your windows fonts to default.
    http://www.techlifeweb.com/vista/2006/10/reverse-vista-font-fix.html

     
  • Anonymous

    Anonymous - 2009-10-05

    CORRECTION:

    These are registry font default settings that work, but display firefox terribly:
    Windows Registry Editor Version 5.00

    "MS Shell Dlg 2"="Segoe UI"
    "MS Shell Dlg"="Segoe UI"
    "Helv"="Segoe UI"
    "MS Sans Serif 8,10,12,14,18,24"="Segoe UI"
    "MS Serif 8,10,12,14,18,24"="Segoe UI"
    "MS Sans Serif"="Segoe UI"
    "System"="Segoe UI"
    "Microsoft Sans Serif"="Segoe UI"
    "Tahoma"="Segoe UI"
    "MS Serif"="Segoe UI"
    "Times New Roman"="Segoe UI"
    "Times"="Segoe UI"
    "Small Fonts"="Segoe UI"
    "Tms Rmn"="Segoe UI"
    "Arial"="Segoe UI"

    "Arial (TrueType)"="segoeui.ttf"
    "Arial Italic (TrueType)"="segoeuii.ttf"
    "Arial Bold (TrueType)"="segoeuib.ttf"
    "Arial Bold Italic (TrueType)"="segoeuiz.ttf"
    "Times New Roman (TrueType)"="segoeui.ttf"
    "Times New Roman Italic (TrueType)"="segoeuii.ttf"
    "Times New Roman Bold (TrueType)"="segoeuib.ttf"
    "Times New Roman Bold Italic (TrueType)"="segoeuiz.ttf"
    "Tahoma (TrueType)"="segoeui.ttf"
    "Tahoma Bold (TrueType)"="segoeuib.ttf"
    "Microsoft Sans Serif (TrueType)"="segoeui.ttf"
    "MS Sans Serif 8,10,12,14,18,24 (VGA res)"="segoeui.ttf"
    "MS Serif 8,10,12,14,18,24 (VGA res)"="segoeui.ttf"

    "@themeui.dll,-2037"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2038"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2039"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2040"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2041"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2042"="{Segoe UI, 8 pt}"

    "Swiss"="Segoe UI"
    "Roman"="Segoe UI"

    And this the undo of the above code, which displays everything fine, but then keepass gives the above-mentioned error:

    Windows Registry Editor Version 5.00

    "MS Shell Dlg 2"="Tahoma"
    "MS Shell Dlg"="Microsoft Sans Serif"
    "Helv"="MS Sans Serif"
    "MS Sans Serif 8,10,12,14,18,24"="MS Sans Serif 8,10,12,14,18,24"
    "MS Serif 8,10,12,14,18,24"="MS Serif 8,10,12,14,18,24"
    "MS Sans Serif"="MS Sans Serif"
    "System"="System"
    "Microsoft Sans Serif"="Microsoft Sans Serif"
    "Tahoma"="Tahoma"
    "MS Serif"="MS Serif"
    "Times New Roman"="Times New Roman"
    "Times"="Times"
    "Small Fonts"="Small Fonts"
    "Tms Rmn"="MS Serif"
    "Arial"="Arial"

    "Arial (TrueType)"="arial.ttf"
    "Arial Italic (TrueType)"="ariali.ttf"
    "Arial Bold (TrueType)"="arialbd.ttf"
    "Arial Bold Italic (TrueType)"="arialbi.ttf"
    "Times New Roman (TrueType)"="times.ttf"
    "Times New Roman Italic (TrueType)"="timesi.ttf"
    "Times New Roman Bold (TrueType)"="timesbd.ttf"
    "Times New Roman Bold Italic (TrueType)"="timesbi.ttf"
    "Tahoma (TrueType)"="tahoma.ttf"
    "Tahoma Bold (TrueType)"="tahomabd.ttf"
    "Microsoft Sans Serif (TrueType)"="micross.ttf"
    "MS Serif 8,10,12,14,18,24"="SERIFE.FON"
    "MS Sans Serif 8,10,12,14,18,24"="SSERIFE.FON"

    "Swiss"="Arial"
    "Roman"="Times New Roman"

    "@themeui.dll,-2037"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2038"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2039"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2040"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2041"="{Segoe UI, 8 pt}"
    "@themeui.dll,-2042"="{Segoe UI, 8 pt}"

    "Swiss"="Segoe UI"
    "Roman"="Segoe UI"

    Now if anyone has any ideas which specific edits cause firefox to be ugly, or keepass to stop opening, that would be greatly appreciated. For now, I am just dealing with an ugly firefox.

     

Log in to post a comment.

MongoDB Logo MongoDB