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

Shadowsocks non-UI Error #3437

Open
ldzdzgr opened this issue Sep 11, 2023 · 4 comments
Open

Shadowsocks non-UI Error #3437

ldzdzgr opened this issue Sep 11, 2023 · 4 comments

Comments

@ldzdzgr
Copy link

ldzdzgr commented Sep 11, 2023

The first time you run Shadowsocks.exe, an NLog.config file is created and nothing else happens. When you start it again, a program window opens with an error.
I tried to run on different PCs with different OS (Windows 10. Windows 11, Windows server 2008 r2), I moved the folder to the path d:\ss, installed https://dotnet.microsoft.com/en-us/download/dotnet- framework/thank-you/net481-offline-installer But nothing helped. What is the problem?
image

@chenshaoju
Copy link
Collaborator

Can you try putting shadowsocks.exe only in the D:\SS2\ folder?

@ldzdzgr
Copy link
Author

ldzdzgr commented Sep 11, 2023

same error
image

@chenshaoju
Copy link
Collaborator

This looks like there is a permissions issue, possibly with the file system (such as NTFS), or possibly with the settings of the anti-virus software.🤔

@snakefoot
Copy link
Contributor

snakefoot commented Sep 12, 2023

I'm guessing an old verson of NLog.dll has been registered in the Windows GAC (maybe by some other application-installer).

And Shadowsocks loads version of NLog.dll, that is older than when this method was introduced NLog.LogManager.LoadConfiguration(System.String).

Possible solution is to register the latest NLog.dll (Ex. NLog v4.7.15) in the Windows-GAC.

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

3 participants