GDI Error Occuring again


I am facing the same issue again now. It was working fine for few line items and then again the same error is appearing.

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at RCA.Activities.Core.SaveImage.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

Please help us to check if your folder has “Write” permission:

It doesn’t fail at the start, it fails after processing many line items, that’s why I am not sure why.

If I restart from the same line which gave error, it doesn’t fail.

Please double check the permission of the folder that you trying to save the image. If it’s a shared folder, then check the write permission of the user login as well.


This is the folder properties which has both read and write permission

For better investigation, could you share your file ?

You mean the excel or akabot project file ?

If you could send us both, that would be great

Could you please share your email ID? My file is too large to upload here

Sample.xlsx (9.8 KB)

Attaching sample Excel
It fixed after adding DateTime

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.