Here's a fun exception that popped up in my admin error mail box today:
/wwStore/item.aspx?sku=wconnect
The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception.
on 3/11/2007 10:34:49 pm
--- 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/wwStore/item.aspx?sku=wconnect
IP: 209.216.162.15
Browser: West Wind HTTP .NET
Login: Anonymous
Locale:
This error started up spontaneously today on an app that's been running happily along for the last week or so since the last update. Because it's on a pretty busy page in the site it kicked up quite a storm of admin emails in a matter of an hour as apparently a robot was running through the site.
I forced the app to recycle, figuring something's corrupt in the AppDomain or even the worker process, but that didn't do the trick. I quickly double checked my local installation and no error here. So I recompiled and sent up the updated to code to the server and now all's well.
This isn't the first time I've seen this, although it is very rare...
But it does make me really wonder. WTF happened here? The code hasn't been updated in a week, yet a recompile was required to make the app run again, something feels mighty scary about this particular scenario as if the compiled code on the server has been corrupted.
Anybody seen this before?
Other Posts you might also like