Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Web Performance Monitor (WPM) > The type initializer for System.Drawing.ToolboxBitmapAttribute

The type initializer for System.Drawing.ToolboxBitmapAttribute

Created by Erica Gill, last modified by MindTouch on Jun 23, 2016

Views: 1,025 Votes: 0 Revisions: 6

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)

Environment

WPM 2.2 and earlier

Cause 

There is an issue with .Net and the Operating System.

Last modified

Tags

Classifications

Public