Hello,
I have an asp.net script that references system.drawing and I am receiving
the following the error when using system.drawing. bitmap:
Exception Details: System.DllNotFo undException: Unable to load DLL
(gdiplus.dll).
[DllNotFoundExce ption: Unable to load DLL (gdiplus.dll).]
System.Drawing. SafeNativeMetho ds.GdiplusStart up(IntPtr& token,
StartupInput& input, StartupOutput& output) +0
System.Drawing. SafeNativeMetho ds.Initialize() +117
System.Drawing. SafeNativeMetho ds..cctor() +155
[TypeInitializat ionException: The type initializer for
"System.Drawing .SafeNativeMeth ods" threw an exception.]
System.Drawing. SafeNativeMetho ds.GdipCreateBi tmapFromScan0(I nt32 width,
Int32 height, Int32 stride, Int32 format, HandleRef scan0, IntPtr& bitmap)
+0
System.Drawing. Bitmap..ctor(In t32 width, Int32 height, PixelFormat
format) +76
ASP.graphics_as px.__Render__co ntrol1(HtmlText Writer __output, Control
parameterContai ner) in file.aspx:9
System.Web.UI.C ontrol.RenderCh ildren(HtmlText Writer writer) +27
System.Web.UI.C ontrol.Render(H tmlTextWriter writer) +7
System.Web.UI.C ontrol.RenderCo ntrol(HtmlTextW riter writer) +243
System.Web.UI.P age.ProcessRequ estMain() +1929
On the same system I have a C# application that uses system.drawing and it
works with no problem. I've tried reinstalling the framework with no avail.
Any suggestions on how to fix this?
Thanks,
Aaron Stubbendieck