VSCode can't start InterSystems Language Server
Hi, I have VSCode on my Windows 10 notebook with intersystems-community.objectscript-pack installed. I'm successfully connected to remote IRIS (2021.1). I can export classes, change them, save and import back to IRIS.
But every time VSCode starts, the message "Request initialize failed with message: Dynamic Linking Error: Win32 error 126" is displayed and InterSystems Language Server does not start.
.png)
.png)
Has anyone solved this problem yet?
Comments
Windows 32bit, is not it? Only 64 bit is supported.
It is Windows 64 bit. But the problem is solved now.
Are you using 32-bit Windows? If so, see https://github.com/intersystems/language-server/issues/197
I think same issue as https://githubmemory.com/repo/intersystems/language-server/issues/186?p… .
@pvdmm Thanks for the log, I think that your problem is due to a couple of missing DLLs: msvcp120.dll and msvcr120.dll
These can be installed using the Visual C++ 2013 redistributable package available from https://support.microsoft.com/en-us/topic/update-for-visual-c-2013-redistributable-package-d8ccd6a5-4e26-c290-517b-8da6cfdf4f10
This is a link to an page talking about a bugfix update but it is the latest version (5) of these tools, linked from a Microsoft page titled "The latest supported Visual C++ downloads".
Please install this and then try running VSCode again.
If this fixes your problem the Language Server team can work out the best way to fix this issue for future installations of the extension.
Thank you @Yuji Ohata You seem to be right. In the meantime, I managed to start Language Server as follows:
VScode runs smoothly on my second computer, so I looked for differences. I have Caché installed on the second computer, Iris on the troubled one. The problem disappeared when I installed Caché on the troubled one.