Error Generating Documentation for a single table

Documents SQL Server 2005 and 2008 databases.

Moderators: JonathanWatts, David Atkinson, Michelle Taylor

Error Generating Documentation for a single table

Postby sjschmalfeld » Wed Oct 16, 2013 2:41 pm

I am getting a strange error when trying to generate documentation for a single table in a database that I was handed to work with. This the information from the log:

08:19:44.659|Info |Logging |1 |Current Logging levels enabled: Fatal,Error
08:20:15.439|Error |Engine Internal |4 |PreviewObjectThread:HTML Preview failed
System.InvalidCastException: Unable to cast object of type 'RedGate.SQLCompare.Engine.Statistics' to type 'RedGate.SQLCompare.Engine.RelationalIndex'.
at „.•„.››(Table )
at „.•„.œ™()
at „.„.š()
at „.„.š™()
at „.„.“™()
at „.„.Œ()
at †.†.Â
sjschmalfeld
 
Posts: 2
Joined: Wed Oct 16, 2013 2:37 pm

Postby Brian Donahue » Thu Oct 17, 2013 4:55 pm

This can happen if you compare a SQL Server database snapshot (note not the "snapshot" file created by SQL Compare). Snapshots are not supported by the SQL engine in SQL Doc at this time.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Re:

Postby sjschmalfeld » Tue Oct 22, 2013 9:53 pm

Brian Donahue wrote:This can happen if you compare a SQL Server database snapshot (note not the "snapshot" file created by SQL Compare). Snapshots are not supported by the SQL engine in SQL Doc at this time.


It was not a snapshot. Using the SQL Doc3 beta seemed to solve the problem
sjschmalfeld
 
Posts: 2
Joined: Wed Oct 16, 2013 2:37 pm


Return to SQL Doc 2

Who is online

Users browsing this forum: No registered users and 0 guests