GDI+ is not properly initialized (internal GDI+ error).

Pro_ZaN 2009-05-04 05:53:53
什么问题:。。。?

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



...全文
154 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Pro_ZaN 2009-05-12
  • 打赏
  • 举报
回复
tks
lvxianda 2009-05-04
  • 打赏
  • 举报
回复
IIS问题
重启下试试

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧