ERROR: 'A generic error occurred in GDI+' and emailed PDFs are blank

Summary

How to resolve blank PDFs when emailing invoices and statements in Sage 50 Accounts v28 and above.

Description

When emailing a customer invoice or statement, the following message can appear:

'A generic error occurred in GDI+'.

The email sends, but the attached PDF document is blank.

Resolution

Refresh the printer setup

Check and refresh your printer settings following the settings to access printer are not valid article.


Resize the logo file size

You can resolve this issue by editing the size of the logo on your layout.

  1. To resize the logo, edit the document.
  2. Right-click the logo then click Copy, then click Cut.
  3. You can then Paste the image into MS Word.
  4. Right-click and Copy the image from MS Word and Paste the image back into your document.

v29 and above - Ensure 'Adjust embedded image resolution on save' is selected

In v29 a new setting stops images from oversizing. To select this option for your report or layout, follow the steps below.

  1. Browse to the layout or report and choose Edit.
  2. Go to Tools then Options.
  3. Select the Adjust embedded image resolution on save checkbox.
  4. Click Save and test the report or layout again.

Run the SBDDesktop.exe.config file

  1. To download the SBDDesktop.exe.config file, click the link below:
    SBDDesktop.exe.config download >
  2. Browse to, then right-click and copy the downloaded file.
  3. In Sage 50 Accounts, click Help then click About.
  4. Under Program Details, click the Program Directory folder path.
  5. Within the file explorer window, click Paste to paste the downloaded file into the program folder. 
  6. Close the file explorer window, then close and re-open Sage 50 Accounts.

That's it. You can now email documents successfully.


TIP:

Once you resolve this issue, you can align your logo using our Report Designer - move, align, resize and centre objects article.  

 

 

Solution Properties

Solution ID
211202164901173
Last Modified Date
Wed Jun 03 10:07:14 UTC 2026
Views
0