G
Guest
I ran into following exception. The task was creating thumbnail images and passing them to the client via web services. GetThumbnail method of Image class error out
System.Web.Services.Protocols.SoapException: System.NullReferenceException: Object reference not set to an instance of an object
at System.Drawing.SafeNativeMethods.GdipCreateBitmapFromScan0(Int32 width, Int32 height, Int32 stride, Int32 format, HandleRef scan0, IntPtr& bitmap
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height
at Code.DataAccess.CatalogEditing.Imaging.ImageAccess.GetImage(Int32 ImageID
We could only fixed the problem by UNINSTALLING and INSTALLING the .Net Framework in the production box
Does anyone has an idea about why it did happen
System.Web.Services.Protocols.SoapException: System.NullReferenceException: Object reference not set to an instance of an object
at System.Drawing.SafeNativeMethods.GdipCreateBitmapFromScan0(Int32 width, Int32 height, Int32 stride, Int32 format, HandleRef scan0, IntPtr& bitmap
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height
at Code.DataAccess.CatalogEditing.Imaging.ImageAccess.GetImage(Int32 ImageID
We could only fixed the problem by UNINSTALLING and INSTALLING the .Net Framework in the production box
Does anyone has an idea about why it did happen