Open cheenamalhotra opened 1 year ago
@cheenamalhotra the log is very helpful, as you can see, there was a null ref exception when calling the getConnectionString, and that led to the subsequent failure of table designer. I've added more logging on STS side to include the callstack, could you please sync to latest main and give it a try? we need to find out where the null reference exception is from.
To make it more reliable, I will remove the dependency on the getConnectionString call and pass the connection information directly instead. will do this in May release.
Noticed this error randomly trying to create a new table on localhost instance:
The target database schema could not be retrieved.
STS logs:
The logs show the connection string set by Table designer did NOT include Server name/Data Source info:
Complete log: 22486_log.txt
I cannot reproduce it consistently but just in case someone notices/finds a root cause, it would be something to address for reliability.
Version: 1.43.0-insider (user setup) Commit: 7377feeb223fd29aeb62b5ba6311eecd88ef5248 Date: 2023-03-27T05:31:00.627Z VS Code: 1.67.0 Electron: 19.1.8 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.22621