EzExecSqlTask causing App domain unloaded exceptions

Nov 16, 2016 at 9:45 AM

I use an EzExecSqlTask component in my class that opens a dtsx file and locates an existing EzExecSqlTask and sets the SQL.

I have two test DLLs (one for slow and one for faster integration tests). If I write a test in each DLL that actions the above class I get an application domain unloaded exception on the very first property the EZApi tries to set on the second test.

public EzExecSqlTask FormTypeUpdateSQL;

in routine
FormTypeUpdateSQL.SqlStatementSource = someSql;

Each test runs find by its self.

Any ideas on how to fix (either in the EzAPI code or on what I could have done wrong)