Hi All, I have an image uploader class which was working just fine until a short while ago. ... Dim filePath As String = "~/images/client-images/" & upName & Left(str.ToString, 6) & ".png" newBmp.Save(HttpContext.Current.Server.MapPath(filePath), Imaging.ImageFormat.Png) A little debugging discovered a Generic error occurred in GDI +. It seems server.mappath is returning E:\web\allaboutsta\htdocs\MarketPlace\images\client-images\Image09220cfb6.png for my image. This seems to be the right location to save my file but it's not working! Any Ideas? BTW. I also have an ASP.NET 4 application using the same uploader with the same code on a different DASP server which is still OK and both apps are working fine locally too.
The GDI+ error can be misleading. Try checking the user quota usage in the Control Panel as it appears you are trying to save a file.
I took a quick look at your account. Increasing the quota for the Anonymous ASPNet User will solve the problem.