neo
neo copied to clipboard
The release "neo-cli-win-x64.zip" can't run on Windows Server
This problem still exists in 3.6.2 and needs to be fixed https://github.com/neo-project/neo-node/issues/302
There are three solutions:
- Copy the libleveldb.dll (511KB) of the neo-gui-2.x and replace it with the original libleveldb.dll (257KB), but this version is older.
- Installing Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 (x64) on Windows Server. It needs to be stated in the Release's Readme.
- Compile an up-to-date version of libleveldb.dll for windows server and package it into neo-cli release.
@chenzhitong You can try out https://github.com/cschuchardt88/neo/releases/tag/v1.1.2 that is latest.
@chenzhitong You can try out https://github.com/cschuchardt88/neo/releases/tag/v1.1.2 that is latest.
It works on windows 10/11 but not works on windows server
@chenzhitong try this updated LevelDBStore
LevelDBStore.zip
Also you may want to put libleveldb.dll in the same directory as LevelDBStore plugin. Reason being is Windows Server is more strict when it comes to search paths for libraries.
@chenzhitong try this updated
LevelDBStoreLevelDBStore.zipAlso you may want to put
libleveldb.dllin the same directory asLevelDBStoreplugin. Reason being isWindows Serveris more strict when it comes to search paths forlibraries.
It's still not working.
@chenzhitong Have look at https://github.com/neo-project/neo-modules/pull/899 I'm hoping this PR will fix the issues.
This is latest build. from the PR libleveldb.zip LevelDBStore.zip
Also you want to do this when downloading
It's still not working. @cschuchardt88
The libleveldb.dll in the libleveldb.zip you sent is the same as in the current neo-cli release, with no changes. levelDBStore.dll is different from the existing one, but still won't run on Windows Server (without vc_redist.x64.exe installed)
@chenzhitong ok vc_redist.x64.exe is requirement... We all have vs2022 installed; so i wonder if this as always been a problem.
This problem was fixed in neo 2.x, when the neo-cli release used the libleveldb.dll (511KB) from neo-gui, which doesn't depend on vc_redist.x64.exe.
In neo 3.1.0 and earlier, this bug does not exist.
In neo 3.2.1, the problem has reappeared, used the libleveldb.dll (257KB), Maybe the previous version of libleveldb.dll is out of date. @cschuchardt88
@cschuchardt88 vc_redist.x64.exe is required by libleveldb.dll because it is compiled with vs2022. We can release the vc++.dll with neo-cli that is required for it work.
Hi @chenzhitong, It's working here. We did a test yesterday on a Windows Server using the latest release. It worked. Can you try again?
Hi @chenzhitong, It's working here. We did a test yesterday on a Windows Server using the latest release. It worked. Can you try again?
Still not working (without additionally installing vc_redist.x64.exe)
You can create a clean Windows Server in the cloud server without installing any software, just neo-cli, and it will not run
Can we package vc_redist.x64.exe (24.2MB) into neo-cli to automatically run the installer when the 0x8007007E error occurs.