Hi @Naomi Nosonovsky,
It is better to stay with Micrsoft OLEDB Driver instead of ODBC driver.
To connect to SQL Server 2022 from SSIS, the OLEDB v.18 string need the following structure:
Provider=MSOLEDBSQL.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AdventureWorks2022;Data Source=DESKTOP-MRK99IF;Use Encryption for Data=True;Trust Server Certificate=True;
The most important are the following mandatory parameters for SQL Server 2022:
- Integrated Security=SSPI
- Use Encryption for Data=True
- Trust Server Certificate=True