RyBub
07.01.2009, 06:29
Hi all,
When i use "la" command(layer property) in 2009 cad, an error message display, detail as below, how can i solve this matter, plz help if possible.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Only TrueType fonts are supported. This is not a TrueType font.
at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
at System.Drawing.Font.FromHfont(IntPtr hfont)
at Autodesk.AutoCAD.Windows.AcMgWinformPalette.ResyncToTheme(AcMgWinformPalette* )
at Autodesk.AutoCAD.Windows.AcMgWinformPalette.Create(AcMgWinformPalette* , CAdUiPaletteSet* pParentWnd)
at Autodesk.AutoCAD.Windows.PaletteSet.AddCore(String name, AcMgPalette* pPal)
at Autodesk.AutoCAD.Windows.PaletteSet.Add(String name, Control control)
at Autodesk.AutoCAD.LayerManager.PaletteHost..ctor()
at Autodesk.AutoCAD.LayerManager.PaletteHost.ShowModeless(Boolean bShow)
at Autodesk.AutoCAD.LayerManager.PaletteHost.RunESW(LayerFilter filter)
at Autodesk.AutoCAD.LayerManager.Commands.LayerESW()
at Autodesk.AutoCAD.LayerManager.Commands.RunLayer()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcdbMgd.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
acmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/acmgd.DLL
----------------------------------------
AcCustomize
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcCustomize.DLL
----------------------------------------
acmgdinternal
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/acmgdinternal.DLL
----------------------------------------
AdWindows
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdWindows.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AcCui
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcCui.DLL
----------------------------------------
AcCustomize.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcCustomize.resources.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AcRibbon
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcRibbon.DLL
----------------------------------------
AcRibbon.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcRibbon.resources.DLL
----------------------------------------
AdWindows.resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AdWindows.resources.DLL
----------------------------------------
AcWindows
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcWindows.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcWindows.resources.DLL
----------------------------------------
PresentationFramework.Luna
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
AdWindowsWrapper
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdWindowsWrapper.DLL
----------------------------------------
AcMgdReverse
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcMgdReverse.DLL
----------------------------------------
AcInfoCenterConn
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcInfoCenterConn.DLL
----------------------------------------
AdInfoCenter
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdInfoCenter.DLL
----------------------------------------
AdInfoCenter.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AdInfoCenter.resources.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Autodesk.Interop.WSCommCntr1
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/Autodesk.Interop.WSCommCntr1.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
AcLayer
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcLayer.resources.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.
When i use "la" command(layer property) in 2009 cad, an error message display, detail as below, how can i solve this matter, plz help if possible.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Only TrueType fonts are supported. This is not a TrueType font.
at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
at System.Drawing.Font.FromHfont(IntPtr hfont)
at Autodesk.AutoCAD.Windows.AcMgWinformPalette.ResyncToTheme(AcMgWinformPalette* )
at Autodesk.AutoCAD.Windows.AcMgWinformPalette.Create(AcMgWinformPalette* , CAdUiPaletteSet* pParentWnd)
at Autodesk.AutoCAD.Windows.PaletteSet.AddCore(String name, AcMgPalette* pPal)
at Autodesk.AutoCAD.Windows.PaletteSet.Add(String name, Control control)
at Autodesk.AutoCAD.LayerManager.PaletteHost..ctor()
at Autodesk.AutoCAD.LayerManager.PaletteHost.ShowModeless(Boolean bShow)
at Autodesk.AutoCAD.LayerManager.PaletteHost.RunESW(LayerFilter filter)
at Autodesk.AutoCAD.LayerManager.Commands.LayerESW()
at Autodesk.AutoCAD.LayerManager.Commands.RunLayer()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcdbMgd.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
acmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/acmgd.DLL
----------------------------------------
AcCustomize
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcCustomize.DLL
----------------------------------------
acmgdinternal
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/acmgdinternal.DLL
----------------------------------------
AdWindows
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdWindows.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AcCui
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcCui.DLL
----------------------------------------
AcCustomize.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcCustomize.resources.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AcRibbon
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcRibbon.DLL
----------------------------------------
AcRibbon.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcRibbon.resources.DLL
----------------------------------------
AdWindows.resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AdWindows.resources.DLL
----------------------------------------
AcWindows
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcWindows.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcWindows.resources.DLL
----------------------------------------
PresentationFramework.Luna
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
AdWindowsWrapper
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdWindowsWrapper.DLL
----------------------------------------
AcMgdReverse
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcMgdReverse.DLL
----------------------------------------
AcInfoCenterConn
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcInfoCenterConn.DLL
----------------------------------------
AdInfoCenter
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AdInfoCenter.DLL
----------------------------------------
AdInfoCenter.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AdInfoCenter.resources.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Autodesk.Interop.WSCommCntr1
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/Autodesk.Interop.WSCommCntr1.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
AcLayer
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202009/en-US/AcLayer.resources.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.