diff --git a/src/Dynamicweb.DataIntegration.Providers.UserProvider.csproj b/src/Dynamicweb.DataIntegration.Providers.UserProvider.csproj index 270599e..19cc439 100644 --- a/src/Dynamicweb.DataIntegration.Providers.UserProvider.csproj +++ b/src/Dynamicweb.DataIntegration.Providers.UserProvider.csproj @@ -1,6 +1,6 @@  - 10.9.0 + 10.9.1 1.0.0.0 User Provider User Provider diff --git a/src/UserDestinationWriter.cs b/src/UserDestinationWriter.cs index ff0f2b9..85fa025 100644 --- a/src/UserDestinationWriter.cs +++ b/src/UserDestinationWriter.cs @@ -264,6 +264,9 @@ private bool UseAutoSearching public void CreateTempTable(string tempTableSchema, string tempTableName, string tempTablePrefix, List destinationColumns) { + if (_sqlCommand.Connection.State != ConnectionState.Open) + _sqlCommand.Connection.Open(); + SQLTable.CreateTempTable(_sqlCommand, tempTableSchema, tempTableName, tempTablePrefix, destinationColumns, _logger); }