Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

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: 86 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
05:16, 23 Jun 2016

Tags

Classifications

Public