Red Gate forums :: View topic - Error Generating Documentation for a single table
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Doc 2
SQL Doc 2 forum

Error Generating Documentation for a single table

Search in SQL Doc 2 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
sjschmalfeld



Joined: 16 Oct 2013
Posts: 2

PostPosted: Wed Oct 16, 2013 2:41 pm    Post subject: Error Generating Documentation for a single table Reply with quote

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 †.†.(€ )
at ž„.‘†.š(€ )
at ž„.„.š(€ )
at †.†.(€ )
at “†.‡.(Project , String , DatabaseObjectNode , ‡ )
at “†.‡.(String , Project , ProjectItem , DatabaseObject )
08:25:38.727|Error |Producer |3 |ProgressTask:Failed to produce node {†:„.†‡}
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 ˆ†.‡†.(€ )
at †.††.ž(ProgressPercentageTracker , † , € , Int32 )
08:25:38.731|Error |Engine Internal |3 |ProgressTask:Failed to document databases
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 ˆ†.‡†.(€ )
at †.††.ž(ProgressPercentageTracker , † , € , Int32 )
at †.††.ž(ProgressPercentageTracker , † , € , Int32 )
at †.††.ž(ProgressPercentageTracker , † , € , Int32 )
at †.††.(ProgressPercentageTracker , ›’ , € )
at “†.‡.™(ProgressPercentageTracker )
at “†.‡.—(ProgressPercentageTracker )
at “†.‡.–(String )
08:28:18.422|Error |UI Controller |1 |MainThread:Documentation failed
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6678

PostPosted: Thu Oct 17, 2013 4:55 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
sjschmalfeld



Joined: 16 Oct 2013
Posts: 2

PostPosted: Tue Oct 22, 2013 9:53 pm    Post subject: Re: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group