The error message appears in the status bar of the Generating Scripts dialog box like this: "Completed with warnings and/or errors"
To see the list of errors, click Details. If the text of an error is truncated, you can either:
Double-click the text to see the entire message.
Press CTRL+C to copy the text to the Clipboard.