首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

System.Runtime.InteropServices.ExternalException: A generic error occurred in GD

2014-01-28 
------解决方法--------------------------------------------------------及沧傲?就不行了,我安装都是按默

------解决方法--------------------------------------------------------及沧傲?就不行了,我安装都是按默认方式,错误代码如下:
Server Error in '/' Application.
--------------------------------------------------------------------------------

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.

Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

Source Error:

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.

Stack Trace:


[ExternalException (0x80004005): A generic error occurred in GDI+.]
System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +522
System.Drawing.Image.Save(String filename, ImageFormat format) +61
ChartDemo.WebControls.WebChart.makeBarChart()
ChartDemo.WebControls.WebChart.GenerateChart()
ChartDemo.WebControls.WebChart.Render(HtmlTextWriter output)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +72
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1900