A user performing Project Documentation within Strategy Developer 9.4.x and above receives the error message below:

Object variable or With block variable not set
This is a known issue in Strategy Developer 9.4.x and above with regards to Project Documentation. The issue centers around Strategy user objects which have been linked to a Windows user account for metadata authentication purposes. If the Windows user which is linked cannot be retrieved as seen below, Project Documentation will not be able to successfully output the users definition and will report the above error.

The Windows User ID is valid but the name couldn't be retrieved
The issue will not be fixed as there is workaround for this issue and Developer is in maintenance mode.
There are two possible workarounds which will allow Project Documentation to complete successfully.
1) Within Project Documentation, uncheck the Authentication option within the users definition. With Project Documentation not trying to output this information it will not fail with the error.

2) Clearing the unretrievable Windows user which is linked will allow Project Documentation to complete successfully as well. This will need to be done within every user which has the above issue in the User Editor -> Authentication -> Metadata -> Windows Authentication field.
To help identify the affected users, the following Strategy Command Manager 9.4.x and above script can be used:
LIST ALL PROPERTIES FOR USERS IN GROUP "Everyone";