Whoa, here’s a whacky ASP.NET error that showed on the WebLog Error log sometime this evening:
/WebLog/posts/5039.aspx
The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception.
on 9/30/2006 4:57:08 am
--- Stack Trace ---
at System.Reflection.CustomAttribute._CreateCaObject(Void* pModule, Void* pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.CreateCaObject(Module module, RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
at System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type)
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes()
at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes()
at System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType)
at System.Web.UI.ThemeableAttribute.IsTypeThemeable(Type type)
at System.Web.UI.Control.ApplySkin(Page page)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- Request Information ---
Full Url: http://www.west-wind.com/WebLog/posts/5039.aspx
IP: 66.249.65.2
Browser: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Login: Anonymous
Locale:
Somehow at some point in the application’s life cycle this evening this error started showing up in the running instance of the WebLog. I sure am glad I had my error email notifications off, because it generated something like 2,500 error entries in a matter of a few hours. This affected most parts of the WebLog application but not all which is also odd. The home page was fine, but the summary pages and post page were not and the home page basically uses functionality of both of those.
I’ve never seen this error before in any app – or this one for this matter. I recompiled the app locally and redeployed the assemblies just in case and all is fine now…
It seems really odd though that this failure would start showing up all of a sudden. I also log application re-starts and the last application start prior to that was about 5 hours before the first failures started showing up – probably when I made the last update on the server.
Anybody ever see this? I wonder if it has something to do with resource use on the server but there’s just no hint in the exception error message.
Other Posts you might also like