SQL Doc
Latest version: 2.1
Knowledge Base
No database objects are visible for databases using compatibility level 70
Category: Troubleshooting & error messages
Date: 26 Nov 2008
Product: SQL Doc
SQL Doc allows you to choose a database to document, and optionally all of the objects in the database. When "compatibility mode" is set on a database, no objects may be available to document in SQL Doc.
SQL Doc is compatible with SQL Server 2000 and SQL Server 2005. Even if your database is hosted on one of these platforms, however, the database itself can still be made to be backwards-compatible with earlier versions of SQL Server. If you have come across a circumstance where you have expanded your database to show all objects in SQL Doc and no objects are available for that database, it may be because the database is set to be backwards-compatible with a version of SQL Server that is not supported by SQL Doc.
For example, if you have a database called MyDatabase, and objects for that database are not visible in SQL Doc, the first step into figuring out why would be to run this query in Query Analyzer or SQL Server Management Studio query window:
SELECT cmptlevel FROM [master]..sysdatabases WHERE [name]='MyDatabase'
If the result is a number less than '80', then the database cannot be documented by SQL Doc. Changing the compatibility level to '80' could allow SQL Doc to work with this database, however bear in mind that some legacy applications that use this database could be negatively affected. One possible workaround could be to take a backup of this database and restore it to an 'offline' server and attempt the upgrade there, if no applications will be using the database from this second server.
EXEC sp_dbcmptlevel MyDatabase, 80
Document ID: KB200805000254 Keywords: SQL,Doc,compatibility,70,no,objects
Was this article helpful?
SQL Doc
- Logging and log files
- Database description runs off page (Version 1.x)
- Changing the project save location (Version 1.x)
- Assertion failure outputting in CHM format
- No database objects are visible for databases using compatibility level 70
- Can't see database objects
- SQL Doc fails with 'Object reference not set to an instance of an object'
- Retaining CHM documentation source files
- Unhandled exception: input string was not in a correct format
- Minimum database permissions required for the user running SQL Doc
- SQL Doc database object description persistence
- Installing HTML Help Workshop fails silently
- Unable to cast object of type 'bn' to type 'bh'
- Logging and log files
all SQL products
- Compatibility of Red Gate tools in 64-bit environments
- Application has encountered an error and needs to close
- Error message after installing SQL Toolbelt - The description for Event ID ( 1 ) in Source ( nview_info ) cannot be found.
- Changing the temporary directory used by the installer
- Toolbelt Installer "hanging" while "scanning volumes"
- Login failing with "trusted SQL Server connection" error when using RunAs
all products
- Some Red Gate products identified as containing a trojan by Anti-Virus software
- Activation may fail with Unknown Error -1
- Product uses web help although a CHM file is available locally
- Argument exception resulting from missing environment variable
- Check for updates may fail when used through proxies
- 'Unidentified Publisher' error when repairing or uninstalling
- Licensing activates product as standard edition
- Moving Red Gate software products to another machine
- Red Gate tools log locations
- The application UI opening slowly when there is no internet access
SQL Doc
- Activating your products
- Activating your products
- Getting help offline
- SQL Doc release notes - version 2.xx
all SQL products
all products
- Red Gate product acknowledgements
- Activating your products
- Activating your products
- Red Gate bundle history
- Check for updates
- Troubleshooting Check for Updates errors
- Current versions
- Deactivating your products
- Installing Red Gate products from the .msi file
- Requesting additional activations
- Serial numbers for bundles
- Reactivating using a different serial number
- Extending your trial
- Finding your serial numbers
- Moving a serial number from one computer to another
- No response received for manual activation
- Licensing and activation resources
- Licensing and activation resources
- Troubleshooting licensing and activation errors
- Licensing and activation FAQs
- Red Gate tools log file locations
- Download old versions of products
- Download product prerequisites & utilities
- Support & upgrades
- Upgrading your software
- Upgrading FAQs

Using SQL Doc