中国开发网: 论坛: 程序员情感CBD: 贴子 179138
fogbound: 上传图片出错了!
Server Error in '/' Application.
--------------------------------------------------------------------------------

JPEG error #53
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.COMException: JPEG error #53

Source Error:


Line 33: objImage = Server.CreateObject("Noxaso.JPEG")
Line 34:
Line 35: objImage.Load(Server.MapPath(NoxForum.Framework.GallerySystem.GetPictureUrl(rsPics("pic_idnum").Value, New Guid(rsPics("pic_id").Value.ToString()), "ori")))
Line 36:
Line 37: rsPics("size_ori_x") = objImage.Width


Source File: d:\zhaix\websites\cndev.org#www\ox_pics\owner_op_rebuild.aspx Line: 35

Stack Trace:


[COMException (0x8000ffff): JPEG error #53]
Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) +776
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn) +194003
ASP.owner_op_rebuild_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\ox_pics\owner_op_rebuild.aspx:35
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +784841
System.Web.UI.Control.OnLoad(EventArgs e) +102
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1064




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44
我们总是怀着失望去回忆过去的希望,直到我们能BT的面对希望。直到遗忘。
blog:http://blog.codelphi.com/fogbound
现在的blog
==============================

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录