Question Martin Fukátko · Nov 27, 2021

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.

Has anyone solved this problem yet?

Product version: IRIS 2021.1
$ZV: IRIS for UNIX (Ubuntu Server LTS for x86-64) 2021.1 (Build 215.3U) Wed Oct 27 2021 17:38:43 EDT

Comments

Martin Fukátko  Nov 29, 2021 to Dmitry Maslennikov

It is Windows 64 bit. But the problem is solved now.

0
Yuji Ohata · Nov 28, 2021

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.

0
Martin Fukátko  Nov 29, 2021 to Yuji Ohata

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.

0