SQL Doc 2

'Object reference not set to an instance of an object' failure

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.

This documentation contains proprietary information and is protected by copyright law.
Copyright © 2026 Red Gate Software Limited. All rights reserved


Didn't find what you were looking for?