I encountered a really annoying bug in the SQL Server SMO scripting library today. Once you script out a single "DROP" script the internal scripter is left in a bad state and starts throwing NullReferenceExceptions on any subsequent call to the Script method. I haven't found a good way around this yet. Unfortunately the only reference I can found about this issue confirms the bug but nothing else. Hopefully this will be fixed in SQL Server 2005 SP3, because it sure isn't fixed in SP2.
Powered by: newtelligence dasBlog 2.1.8102.813
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, Shawn Neal
E-mail