-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mssql: SQL Tools Service component could not start #17739
Comments
error messages we got: The AzureResourceProvider server crashed 5 times in the last 3 minutes. The server will not be restarted. mssql: SQL Tools Service component could not start. |
I have this issue as well. Does anyone have any steps to help identify what is causing the SQL Tools Service to not start? The issue is not present on 1.12.0. The service works successfully. This error is displayed with every version after, including the current. I have not found any clues in the extension log files. |
Can you wrap up extension logs by following below steps:
Upload the 2 folders here along with version info. |
Thank you for the response. I have followed the listed steps. ms-mssql.mssql does not exist. Attached is the output_logging folder. Before I sent this, I let it upgrade to 1.19.1. VSCode is 1.80.0 |
I'm having a similar issue. I'm on Windows 11 and installed 1.19.1. but was unable to make a new connection and received error command 'mssql.addObjectExplorer' not found. I uninstalled/removed files from /.vscode/extensions removed the cache from roaming and restarted the machine. Same error. After some googling, I realized that the 64 bit installation of 1.19.1 didn't have the sqltoolsservice included. I tried manually added the service and then I tried installing the x84 version. It included the sqltoolsservice, but I still had the same error of command not found. |
Same issue. I see following in output window
|
Read a thread where 1.18.0 might work better. Confirmed that 1.18.0 gives the same error as [sfannfcs] posted above. |
I see the tag needs more info. Just confirming if there is anything further I can do or provide. Thank you. |
Thanks @cheenamalhotra. We will re-test once the fix above is included in a new release. |
Tested on 1.20.1 and the same issue persists. Output includes: [Info - 2:17:46 AM] Connection to server got closed. Server will restart. mssql: SQL Tools Service component could not start. Source: SQL Server (mssql) (Extension) |
@mister0822 Do you have a proxy configured in your settings.json? If so, you could try and remove those lines; VSCode will rely on your OS proxy settings in most cases. See: Only thinking it might be proxy related since 1.20.1 was supposed to help you, and that was an attempted fix re proxy issues. |
With mssql extension 1.20.1, I have tried all options of proxy support (on, off, fallback, override). exact same error I got: [Info - 2:28:16 PM] Connection to server got closed. Server will restart. |
Does manual downloading help resolve the issue?
|
Thanks @cheenamalhotra, |
Just wanted to report that I am no longer seeing the issue :) |
Couple of thing to try (in order):
|
@cheenamalhotra .NET runtime events with 1022 event ID, and the following event log message: Failed to CoCreate profiler. This error appears over and over. Thank you for your suggestions. |
That's interesting! How are these VDI machines hosted and what installer are you using to install VS Code (User/System/Zip)? Not sure if this applies to you, here're one solution I found that can be tried: https://www.ibm.com/docs/en/tcamfma/6.3.0?topic=workarounds-net-data-collector-event-1022 |
@cheenamalhotra, Here is our VDI system info. I tried both VSC installers (user/system), both of them have the same issue. I checked my VDI event log and did find the .NET Runtime issue (Event ID 1022) as mentioned in your link. Here is the error message from the event log: 'NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{DA7CFC47-3E35-4c4e-B495-534F93B28683}'. HRESULT: 0x80070241. Process ID (decimal): 11616. Message ID: [0x2504].' I will try the workaround solution. |
Any further information we can provide? |
Just checking if there is new information. |
I'm now currently getting this. |
Steps to Reproduce:
1.Start VSC
2.
The text was updated successfully, but these errors were encountered: