Skip to content
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

intermittent connection error "Cannot register service for type ChildFactory" #26042

Open
gfody opened this issue Nov 8, 2024 · 0 comments
Open

Comments

@gfody
Copy link

gfody commented Nov 8, 2024

  • Azure Data Studio Version:
  • OS Version:
Version: 1.49.1 (user setup)
Commit: 2f696aa95a13ccabd7e0a4431d1d759e3a7b8cfd
Date: 2024-08-13T18:12:38.831Z
VS Code: 1.82.0
Electron: 25.9.8
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

Steps to Reproduce:

  1. Expand two or more servers so that they're connecting simultaneously
  2. See this error sometimes
    Image

..I'm able to workaround this by clicking the retry button

Does this issue occur when all extensions are disabled?: Yes

The error message appears in renderer.log:

2024-11-08 08:55:29.806 [warning] getCurrentGlobalConnection: No active editor found.
2024-11-08 08:55:29.809 [info] Creating new connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server1|groupId:46a7f987-ac57-4f3c-902a-2b602304dc95
2024-11-08 08:55:29.809 [info] Adding connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server1|groupId:46a7f987-ac57-4f3c-902a-2b602304dc95
2024-11-08 08:55:29.809 [info] Successfully added connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server1|groupId:46a7f987-ac57-4f3c-902a-2b602304dc95
2024-11-08 08:55:30.489 [info] [perf] Render performance baseline is 32ms
2024-11-08 08:55:30.811 [info] Creating new connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server2|groupId:6b39e838-9022-4abf-b394-99d8b7576d6f
2024-11-08 08:55:30.811 [info] Adding connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server2|groupId:6b39e838-9022-4abf-b394-99d8b7576d6f
2024-11-08 08:55:30.811 [info] Successfully added connection connection:providerName:MSSQL|authenticationType:Integrated|encrypt:strict|server:server2|groupId:6b39e838-9022-4abf-b394-99d8b7576d6f
2024-11-08 08:55:36.500 [info] Adding connection with DB name connection:providerName:MSSQL|authenticationType:Integrated|database:master|encrypt:strict|server:server1|groupId:46a7f987-ac57-4f3c-902a-2b602304dc95
2024-11-08 08:55:36.779 [info] Adding connection with DB name connection:providerName:MSSQL|authenticationType:Integrated|database:master|encrypt:strict|server:server2|groupId:6b39e838-9022-4abf-b394-99d8b7576d6f
2024-11-08 08:55:38.875 [error] Cannot register service for type ChildFactory, one or more services already registered
2024-11-08 08:55:38.893 [error] Cannot register service for type ChildFactory, one or more services already registered
2024-11-08 08:56:28.554 [warning] getCurrentGlobalConnection: No active editor found.
2024-11-08 08:56:29.584 [info] Creating new connection untitled:SQLQuery_1
2024-11-08 08:56:29.584 [info] Adding connection untitled:SQLQuery_1
2024-11-08 08:56:29.585 [info] Successfully added connection untitled:SQLQuery_1
2024-11-08 08:56:31.335 [info] No server contextualization provider found for MSSQL
2024-11-08 08:56:31.340 [error] Invalid provider: MSSQL: Error: Invalid provider: MSSQL
    at t (vscode-file://vscode-app/c:/Users/Gordy/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:3:273619) [<root>]
    at m.getProvider (vscode-file://vscode-app/c:/Users/Gordy/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:2806) [<root>]
    at m.getServerContextualization (vscode-file://vscode-app/c:/Users/Gordy/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:3548) [<root>]
    at m.contextualizeUriForCopilot (vscode-file://vscode-app/c:/Users/Gordy/AppData/Local/Programs/Azure%20Data%20Studio/resources/app/out/vs/workbench/workbench.desktop.main.js:2316:3065) [<root>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant