Closed
Description
Description
I didn't exactly expect this to work, but I was hopeful (since there is now an ARM64 version of Windows 11 and Windows Server, I am still holding out hope that Microsoft will surprise us one day with a quiet launch of SQL Server for ARM64).
However, the issue with the extension is that it doesn't detect that you are running on windows and ARM64 so it tries anyway. This results in getting past the "Creating Container" stage and then getting stuck on the "Setting up container" stage. Apparently it can't tell that SQL server in the container failed to start so it just spins there forever waiting.
The bug report is I think two-fold:
- Detect if running on Windows and ARM64 and if so bail out before even downloading the SQL docker image.
- If the container fails to start for some reason (or in this case, starts and then quickly exits), detect that situation and display an error instead of spinning forever and having to manually clean up the failed docker container.
Steps to Reproduce
- Install VS Code
- Install MSSQL extension
- Go to SQL Server tab on left
- Click "Create Local SQL Connection"
- Proceed through prompts.
- Get stuck on "Setting up container"
Affected Area
- Connection dialog
- Query results panel
- Query editor
- Object Explorer
- Table Designer
- Schema Compare
- Schema Designer
- Local container
- GitHub Copilot integration
- Query Plan Visualizer
- Other (please describe below)
If you selected "Other", please describe the affected area
No response
Environment Information
- VS Code Version: 1.101.0
- MSSQL Extension Version: 1.33.0
- Operating System: Windows 11 24H2 Build 26100.4351
- Connection Type: Local Container
Confirmation
- I have searched existing issues and couldn't find a match
- I want to work on this issue