The xnview.db is currently stored in %appdata%\xnview\xnview.db.
The better place would be: %localappdata%\xnview\xnview.db.
The rest (config etc) has to stay in %appdata%\xnview
Reason: %appdata% is copied when server stored user profiles are used, %localappdata" is not copied around.
Firefox, Seamonkey, Internet explorer use %localappdata% by default to store the cache too, avoiding the same problem.
Most other programs do the same for non-important data like cache or temp or redo files.
the %localappdata% exists since windows 2000, previous Windows versions don't have it.
EDIT:
%localappdata% environment is in some cases not defined though it should be, the registry key still contains the right value then:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Local AppData
Suggestion: Store .db in %LOCALAPPDATA% on Windows
Moderators: helmut, XnTriq, xnview
Suggestion: Store .db in %LOCALAPPDATA% on Windows
Gaming in 4k / 6k / 8k / 15k / 16k? Yes! https://joumxyzptlk.de