Broken Profile Image


This was listed in a previous issue, but hopefully wanted to add more details as I am experiencing the same issue.
When I look in the “LiveProfiles” list I see that the image has been successfully uploaded and renamed to “profileImage.png”. When I click on the image it appears correctly. There are no errors generated in the ULS or application log (that I see). If enable errors and callstack in the web.config and then browse directly to the image URL (e.g. /_layouts/liveauthimage.ashx?uuid=9a59d4d615f24a89fd9f9944ea741cae&s=60) then I see the following error:
A generic error occurred in GDI+. at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at SPCS.WindowsLiveAuth.LiveAuthImageHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Hope this helps,


wictor wrote Jun 18, 2009 at 5:24 AM

I'll have a look at it and see what is happening.

wrote Nov 11, 2009 at 5:02 AM

alistairhigson wrote Nov 11, 2009 at 5:12 AM

Any resolution on this? Just installed to take a look and everything works great, but same issue and same error.

Great job Wictor.

wrote Feb 13, 2013 at 11:05 PM