“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------
无法加载 DLL“gdiplus.dll”: 存储空间不足,无法处理此命令。 (异常来自 HRESULT:0x80070008)。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.DllNotFoundException: 无法加载 DLL“gdiplus.dll”: 存储空间不足,无法处理此命令。 (异常来自 HRESULT:0x80070008)。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[DllNotFoundException: 无法加载 DLL“gdiplus.dll”: 存储空间不足,无法处理此命令。 (异常来自 HRESULT:0x80070008)。]
System.Drawing.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output) +0
System.Drawing.Gdip.Initialize() +108
System.Drawing.Gdip..cctor() +154
[TypeInitializationException: “Gdip”的类型初始值设定项引发异常。]
System.Drawing.Gdip.GdipCreateBitmapFromStream(IStream stream, IntPtr& bitmap) +0
System.Drawing.Bitmap..ctor(Stream stream) +81
System.Drawing.ToolboxBitmapAttribute..cctor() +179
[TypeInitializationException: “System.Drawing.ToolboxBitmapAttribute”的类型初始值设定项引发异常。]
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() +583
System.ComponentModel.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() +58
System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType) +32
System.Web.UI.ViewStateModeByIdAttribute.IsEnabled(Type type) +110
System.Web.UI.Control.SaveViewStateRecursive() +242
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Control.SaveViewStateRecursive() +106
System.Web.UI.Page.SaveAllState() +168
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1099
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.4253; ASP.NET 版本:2.0.50727.4257
在系统日志中伴随着另一个异常警告:
异常信息:
异常类型: TypeInitializationException
异常消息: “System.Drawing.ToolboxBitmapAttribute”的类型初始值设定项引发异常。
网站已经平稳运行了两年多了, 不知道这几天怎么回事了, 经常报这个错, 服务器IIS设置、程序代码没改动过。
服务器版本: windows2008 sp2 ;
磁盘空间,内存资源充足。 服务器上没有安装任何其它软件。
后台有几个列表报这个错误, 但是一些树型(需要多数据库中查数据的)页面等等不报这个错。
重启后就又好了。 过一段时间又出现了。 有谁遇到过? 求大神帮忙看看, 系统已经开启了自动更新, 已经安装了最新的系统更新补丁。