Open MatCast opened 2 years ago
I have the same problem. Any resolution found?
Any resolution?
After connecting are you able to run this query?
SELECT * FROM INFORMATION_SCHEMA.TABLES
If so, does this list schemas and tables?
I have the same problem. And when I want to run this query
SELECT * FROM INFORMATION_SCHEMA.TABLES
Then
@git1453 please confirm which driver you are using, and which versions of the driver and main extension.
Does the CONSOLE button give any more information?
And if you right-click on your connection in the SQLTools view, choose "Edit Connection", then press "TEST CONNECTION" does this succeed?
@gjsjohnmurray I have the same problem. And when I run the query
SELECT * FROM INFORMATION_SCHEMA.TABLES
Then I get this
The console output is
Connection is closed.
By the way,
SQLTools Version v0.26.0
SQLTools Microsoft SQL Server/Azure: v0.3.0
VSCode Version: 1.73.1
OS: Windows 10
Driver:
MSSQL/Azure
Database version: Microsoft SQLServer 2014
@packyzbq I don't have access to an instance of SQL Server 2014 to test against.
If you take SQLTools out of the equation by opening a native MSSQL command shell on that server and database, using the same userid as your SQLTools connection specifies, does that statement work?
@packyzbq I don't have access to an instance of SQL Server 2014 to test against.
If you take SQLTools out of the equation by opening a native MSSQL command shell on that server and database, using the same userid as your SQLTools connection specifies, does that statement work?
@gjsjohnmurray YES. And I also tried running this statement on both DataGrip and SQL Server extension for Visual Studio Code with the same userid, and it worked fine.
try to increase connection timeout, for me 50000 worked fine.
try to increase connection timeout, for me 50000 worked fine.
How to increase the timeout?
I had the same problem now. Solved it by unchecking the 'useUTC' option in VSCode - SQL Tools Settings in the connection settings
I tried the same, and sadly, that did not work for me.
Same problem here, connection tree doesn't expand but queries work including the query that gjsjohnmurray suggested to try:
SELECT * FROM INFORMATION_SCHEMA.TABLES
Hello all, do we have any workaround for this one?
Related to #710
Describe the bug When clicking on the left arrow on an active connection i get the following error and the connection tree is not shown:
Request connection/GetChildrenForTreeItemRequest failed unexpectedly without providing any details.
After the error appeared once it does not show up again upon re-clicking on the arrow but the connection tree still does not diplay.
I can run queries on the DB normally.
Expected behavior The connection tree is shown when clicking on the connection arrow.
Screenshots![image](https://user-images.githubusercontent.com/32680270/141263000-ae8b5e6b-135d-4e8c-8298-f1c771c8f8fc.png)
Desktop (please complete the following information):