Applications Systems
The type initializer for System.Drawing.ToolboxBitmapAttribute
The Web Console intermittently fails to load pages and displays the following error message: The type initializer for 'System.Drawing.ToolboxBitmapAttribute
First published date
Last published date
Overview
The Web Console intermittently fails to load pages and displays the following error message:
The type initializer for 'System.Drawing.ToolboxBitmapAttribute
The Orionweb.log (located in C:\ProgramData\Solarwinds\Logs\Orion by default) shows the following entry:
3517-12-02 08:12:27,535 [76] ERROR ASP.global_asax - Application_Error(116800422f514f6489fab078d77e46a7) System.TypeInitializationException: The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+. at System.Drawing.SafeNativeMethods.Gdip.Initialize() at System.Drawing.SafeNativeMethods.Gdip..cctor() --- End of inner exception stack trace --- at System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef hdc, Object lf, IntPtr& font) at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc) at System.Drawing.Font.FromHfont(IntPtr hfont) at System.Drawing.SystemFonts.get_DefaultFont() at System.Windows.Forms.Control.get_DefaultFont() at System.Windows.Forms.Control.get_Font() at System.Windows.Forms.AxHost.QuickActivate() at System.Windows.Forms.AxHost.ActivateAxControl() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at SolarWinds.MapEngine.MappingControl.InitializeComponent() at SolarWinds.MapEngine.MappingControl..ctor() at MapImport.SaveMap(CreateMapParameters parameters) at SolarWinds.MapStudio.Web.MapRunner.ImportThreadProc(Object obj) --- End of inner exception stack trace --- at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) at System.RuntimeType.GetCustomAttributes(Boolean inherit) at Infragistics.WebUI.Shared.UltraLicenseProvider.GetLicenseAttribute(Type type, Object instance, Boolean allowExceptions) at Infragistics.WebUI.Shared.UltraLicenseProvider.GetLicense(LicenseContext context, Type type, Object instance, Boolean allowExceptions) at System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext context, Type type, Object instance, Boolean allowExceptions, License& license, String& licenseKey) at System.ComponentModel.LicenseManager.Validate(Type type, Object instance) at Infragistics.WebUI.UltraWebGauge.UltraGauge..ctor() at SolarWinds.NPM.Web.Gauge.V1.BaseGaugeGenerator..ctor() at GaugePage.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Product section
Cause
Resolution
Contact Microsoft for the Hotfix related to this error.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.