Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to SQL Server 2022, Visual Studio 2022, and ODBC drivers.
Visual Studio 2022 includes tools for working with SQL Server databases, such as SQL Server Object Explorer, SQL Server Data Tools (SSDT), and ADO.NET connectivity. ODBC Driver 18 is specifically designed for SQL Server and provides efficient data access.
Verify if your application has any dependencies on Visual Studio components, ensure that your application has the required permissions.
Consider creating a test environment where you can isolate your application, ODBC driver, and SQL Server 2022.
Test the application with only the ODBC driver and SQL Server 2022 (without Visual Studio) to see if the issue persists.
Have a nice day.
Best Regards,
Molly