拉迪每次运行自己写的文件上传程序的时候……

 

“/”应用程序中的服务器错误。


说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.OutOfMemoryException: 内存不足。

源错误:

行 52: 
行 53: dim i as System.Drawing.Image
行 54: i = System.Drawing.Image.FromFile(PathName)
行 55: Dim PhotoWidth As Integer = i.width
行 56: Dim PhotoHeight As Integer = i.height

源文件: E:gphoto.sa20.commyphotosgetuploadphoto.aspx    行: 54

堆栈跟踪:

 

[OutOfMemoryException: 内存不足。] 
System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement) +220  
System.Drawing.Image.FromFile(String filename) +7  
ASP.getuploadphoto_aspx.__Render__control1(HtmlTextWriter __output, Control
parameterContainer) in E:gphoto.sa20.commyphotosgetuploadphoto.aspx:54
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27 
System.Web.UI.Control.Render(HtmlTextWriter writer) +7 
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1926


版本信息: Microsoft .NET Framework 版本:1.1.4322.2300; ASP.NET 版本:1.1.4322.2300;

Published by

Kakurady

正太兽冒险者训练中!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.