SQL Doc

Latest version: 2.1

SQL Doc

Knowledge Base

Unable to cast object of type 'bn' to type 'bh'

Category: Troubleshooting & error messages
Date: 30 Jan 2009
Product: SQL Doc
Versions: 2.0

When generating the SQL Doc documentation on a database that has the same name as the SQL Instance or Server, the following error message may appear during the "documenting" phase:

Unable to cast object of type 'bn' to type 'bh'

This is a known issue, the problem is caused by the database to be documented having the same name as the SQL Instance.

The work around for this problem is to connect to the SQL Instance or Server via IP address or fully qualified DNS Name.

Document ID: KB200901000350 Keywords: SQL,Doc,Unable,cast,bn,bh

Was this article helpful?

Search support
Forums
Visit the SQL Doc forum.

SQL Doc

all SQL products

all products