bitbeans / SimpleDnsCrypt

A simple management tool for dnscrypt-proxy
https://simplednscrypt.org
MIT License
2.29k stars 233 forks source link

starting issue – .toml file missing/deleted #408

Open heinz100 opened 5 years ago

heinz100 commented 5 years ago

Hello, on the first start after installation the program wants to re-build the dnscrypt-proxy.toml and nothing else happens. On the second+ start it tells me that there was no dnscrypt-proxy.toml file and the prog should be installed again. But re-installing doesn't help. Copying the example-file into the dnscrypt-proxy directory doesn't help either. The file is deleted/renamed to dnscrypt-proxy.toml.bak during next start of the program and the re-building dnscrypt-proxy.toml message shows up again: sdns Logfile says: 2019-04-13 12:50:12.1189 LoaderViewModel System.UnauthorizedAccessException: Der Zugriff auf den Pfad wurde verweigert. (german for: access denied) bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bei System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) bei SimpleDnsCrypt.ViewModels.LoaderViewModel.<InitializeApplication>d__8.MoveNext() Program version is 0.6.4 x64 on Win7

qb20nh commented 4 years ago

Same here, all I had to do was delete dnscrypt-proxy.toml file and replace it with dnscrypt-proxy.toml.bak file.

ledow commented 4 years ago

I have this every time I upgrade. I have to uninstall, delete the dnscrypt folder and files in the local user folder (not Program Files - that disappears on uninstall) and in the %TEMP% folder, and only then will it let me clean reinstall. Otherwise any amount of install, uninstall, reboot, etc. just results in the same message as above and renaming the .bak does not solve the problem (the renamed file just disappears and the software hangs just the same). Quite annoying as it means every update wipes all the configuration settings. Just had this happen with 0.7.0 to 0.7.1 upgrade.