Unable to cast object of type redgate.sqlcompare.engine.stat
msigman
Posts: 11
Attempting to generate documentation, receiving this error after the Documenting phase:
Any ideas?
Unable to cast object of type redgate.sqlcompare.engine.statistics to type redgate.sqlcompare.engine.relationalindex
Any ideas?
Comments
SQL Doc 2 (Most recent release, downloaded & installed yesterday)
http://www.red-gate.com/messageboard/vi ... php?t=9983
Trying to document SQL 2005 server
SQL Doc version 2.1.0.223
Basically SQL Doc is suffering from a small change in the SQL Compare engine which it uses to gather data about the schema. The development team now believe that they know what the problem is so hopefully there will be a fix soon (although i cannot say when at the moment).
A possible workaround which has helped another user (to an extent) is to remove any manually created statistics and then SQL Doc 'should' be able to successfully document the schema. While I know that this is in no way ideal, hopefully it will only be required in the short term.
Also what does it mean to remove manual statistics?
ftp://support.red-gate.com/patches/sql_ ... .0.242.zip