marijnkampf / Random-Photo-Screensaver

Source of Random Photo Screensaver
http://www.abscreensavers.com/random-photo-screensaver/open-source
Other
44 stars 14 forks source link

RPS requires supervisor rights - Error on exiting screensaver #114

Open marijnkampf opened 6 years ago

marijnkampf commented 6 years ago

TL;DR Error occurs on exiting screensaver on PC with limited user account access. Either try installing RPS outside C:\program files or obtain supervisor access.

Error message: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quick, the application will close immediately.

attempt to write a readonly database.

System.Data.SQLite.SQLiteExeption (0x80004005): attempt to write a readonly data attempt to write a readonle database.

masticman commented 10 months ago

Here's the workaround for this bug (tested using Windows 11). It appears to be caused by file permissions when accessing the .sqlite database files: • Open the following folder using Windows File Explorer: %programdata%\Random Photo Screensaver\ • There are three files in here: meta.sqlite, settings.sqlite, store.sqlite. For each of these in turn, right-click the filename > Properties > Security. Press [Edit], select [Users] from the list, tick the [Full Control] entry then press [Apply].

I also note that with Windows 11, from time to time Random Photo Screensaver appear to lock up, pressing CTRL+ALT+DEL gets past this, but the following workaround prevents it happening in the first place: • Using Windows File Explorer, open: %programfiles%\abscreensavers.com\Random Photo Screensaver\ • Right-click RPS4.exe > Properties > Compatibility > Run this program in compatibility mode for: [Tick] and select [Windows 8] from the dropdown list, press [Apply]

With those two fixes applied RPS should run as well as with Windows 10 and below.