错误信息:异常详细信息: System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。源错误:
行 153:catch(System.Exception e)
行 154:{
行 155:throw e;
行 156:}
行 157:finally
源文件: d:\yung\App_Code\tool.cs 行: 155 堆栈跟踪:
[ExternalException (0x80004005): GDI+ 中发生一般性错误。]
Tools.GetThumbNail(Int32 iWidth, Int32 iheight, String strContentType, Stream ImgStream, String savetofile) in d:\yung\App_Code\tool.cs:155
admin_teacher_teacher_add_works.checkupfile(Int32 mgr_id) in d:\yung\admin\teacher\teacher_add_works.aspx.cs:70
admin_teacher_teacher_add_works.cmdUpfile_Click(Object sender, EventArgs e) in d:\yung\admin\teacher\teacher_add_works.aspx.cs:45
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
行 153:catch(System.Exception e)
行 154:{
行 155:throw e;
行 156:}
行 157:finally
源文件: d:\yung\App_Code\tool.cs 行: 155 堆栈跟踪:
[ExternalException (0x80004005): GDI+ 中发生一般性错误。]
Tools.GetThumbNail(Int32 iWidth, Int32 iheight, String strContentType, Stream ImgStream, String savetofile) in d:\yung\App_Code\tool.cs:155
admin_teacher_teacher_add_works.checkupfile(Int32 mgr_id) in d:\yung\admin\teacher\teacher_add_works.aspx.cs:70
admin_teacher_teacher_add_works.cmdUpfile_Click(Object sender, EventArgs e) in d:\yung\admin\teacher\teacher_add_works.aspx.cs:45
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
http://szgaga.com/tool.txt