tags:

views:

28

answers:

0

Using VS 2008 and SubSonic and MySQL 4.1 and MySQL Connector 6.2.4... running the custom tool on any of the .tt files receives this exception. Now my guess is this is an issue outside of SubSonic.

Error 2 Running transformation: System.NullReferenceException: Object reference not set to an instance of an object. at MySql.Data.MySqlClient.MySqlConnection.get_ServerThread() at MySql.Data.MySqlClient.MySqlConnection.Abort() at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at Microsoft.VisualStudio.TextTemplating94E040EB5E9DCEED7DB4A5BC22979025.GeneratedTextTransformation.LoadFKTables(String tableName) at Microsoft.VisualStudio.TextTemplating94E040EB5E9DCEED7DB4A5BC22979025.GeneratedTextTransformation.LoadTables() at Microsoft.VisualStudio.TextTemplating94E040EB5E9DCEED7DB4A5BC22979025.GeneratedTextTransformation.TransformText() C:\Users\Me\Documents\NewSVN\Win21W\WcfService1\WindowsFormsApplication1\Structs.tt 1 1

Thanks for any help.