 <p>Did you try Google? Seems like it could be caused by a few things. Since it only crashes on the server, my first guess would be that ASP.NET doesn't have write permission in the folder you're saving to. See here:</p> <p><a href="http://weblogs.asp.net/anasghanem/archive/2009/02/28/solving-quot-a-generic-error-occurred-in-gdi-quot-exception.aspx" rel="nofollow">http://weblogs.asp.net/anasghanem/archive/2009/02/28/solving-quot-a-generic-error-occurred-in-gdi-quot-exception.aspx</a></p>