'Object reference not set to an instance of an object' failure
Published 22 February 2013
SQL Doc may fail when attempting to generate the documentation for a SQL 2000 database at the Documenting stage with the error:
Object reference not set to an instance of an object
.
This error can happen when the user account you used to connect to the database does not have sufficient permissions.
Fix
Using an account that has server-level administration permissions such as SYSADMIN or SERVERADMIN may resolve the problem.