當我調用Bitmap.Save
函數時,會發生此錯誤:「GDI +中發生了一般性錯誤」。當我從本地電話呼叫它工作,但是當我從另一臺電腦打電話時,會發生此錯誤。在 '/ jobnumber可以' 應用當我調用Bitmap.Save函數時發生錯誤「GDI +中發生了一般性錯誤」
服務器錯誤:
A generic error occurred in GDI+. 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.
異常詳細信息:
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
源錯誤:
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.
堆棧跟蹤:
[ExternalException (0x80004005): A generic error occurred in GDI+.]
System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +377518 System.Drawing.Image.Save(String filename, ImageFormat format) +69
System.Drawing.Image.Save(String filename) +25
Assignment.CreateBitmapImage(String sImageText, Image Image1, JobInfo job_info_param) +124
Assignment.PrintButton_Click(Object sender, EventArgs e) +271
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
你的意思是「來自另一臺電腦的呼叫」是什麼意思? – Bobby 2009-11-25 13:53:31