English > Support
Old Database Does Not Work
orgazmo:
I uploaded my database a few days ago.
obi:
I got the same error messages. But the circumstances are different. I work with PVD 0.9.9.11 and this is the first installation of the program on my windows xp pc.
1. start PVD as user1 and create the database MOVIES.PVD in
<D:\Dokumente und Einstellungen\User1\Eigene Dateien\Personal Video Database>
2. Put some videos in
3. Close the program
4. Copy the data base to <D:\Dokumente und Einstellungen\All Users\Dokumente>
5. Try to open the database with dopple click as user2
now I get the two error messages:
Konnte die Datei nicht öffen
file is not a valid database Connection authorization failure. Error Code: 3
As user administrator I don’t have any problems. So it seems to be a security problem. With the process monitor from sysinternals I found out, that PVD (started as user2) tries to open the file “D:\Dokumente und Einstellungen\User1\Anwenderdaten\Personal Video Database\pvdconf.ini”
If I try to open the database <D:\Dokumente und Einstellungen\All Users\Dokumente\ MOVIES.PVD> as user2 with the dialog “Datei -> öffnen”, then only the message “Konnte die Datei nicht öffen” appears.
Why wants PVD to open a file from an other user account?
I hope, this give a hint to solve the problem. I am very interested in a solution. Because in our family each one has his own user account (without administrativ privileges) and the PVD shoud be usable by each family member.
patch:
--- Quote from: obi on August 06, 2009, 01:16:59 pm ---I hope, this give a hint to solve the problem. I am very interested in a solution. Because in our family each one has his own user account (without administrativ privileges) and the PVD shoud be usable by each family member.
--- End quote ---
+1
Well done. Have the same problem and has been present for some time.
rick.ca:
--- Quote ---Why wants PVD to open a file from an other user account?
--- End quote ---
I don't know of any specific reason why it wouldn't work, but I wonder if the program is intended to be run using a different configuration file for each user...
What happens if pvdconfig.ini is copied to D:\Dokumente und Einstellungen\User2\Anwenderdaten\Personal Video Database?
What happens if the program is started with the -portable switch, forcing it to maintain one configuration file in the program directory?
I'm not sure what impact the location of the database is. To test the above, I would move it outside D:\Dokumente und Einstellungen, and make sure the references in pvdconfig.ini point to the new location.
patch:
--- Quote from: rick.ca on August 06, 2009, 06:56:00 pm ---I don't know of any specific reason why it wouldn't work, but I wonder if the program is intended to be run using a different configuration file for each user...
--- End quote ---
Rick, PVD is recording location information in it's database file. Moving the database to a new user results in it sometimes accessing the old users data (ie uses absolute addresses). This trips an access violation. See http://www.videodb.info/forum_en/index.php?topic=969.msg3888#msg3888
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version