GDI+ is not properly initialized (internal GDI+ error).
什么问题:。。。?
GDI+ is not properly initialized (internal GDI+ error).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.ExternalException: GDI+ is not properly initialized (internal GDI+ error).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ExternalException (0x80004005): GDI+ is not properly initialized (internal GDI+ error).]
System.Drawing.Bitmap..ctor(Stream stream) +376766
System.Drawing.ToolboxBitmapAttribute..cctor() +179
[TypeInitializationException: The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception.]
System.Reflection.CustomAttribute._CreateCaObject(Void* pModule, Void* pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs) +0
System.Reflection.CustomAttribute.CreateCaObject(Module module, RuntimeMethodHandle ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs) +63
System.Reflection.CustomAttribute.GetCustomAttributes(Module decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes) +604
System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit) +129
System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit) +65
System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type) +133
System.ComponentModel.ReflectedTypeData.GetAttributes() +38
System.ComponentModel.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() +58
System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType) +32
System.Web.UI.ThemeableAttribute.IsTypeThemeable(Type type) +105
System.Web.UI.Control.ApplySkin(Page page) +53
System.Web.UI.Control.InitRecursive(Control namingContainer) +8684170
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Control.InitRecursive(Control namingContainer) +210
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378