derber
(Lurker)
2007-03-21 04:19 PM
1314 with the SaveKey command

hi there
in a logon script i dlike to you the savekey command. it creates a reg file but its empty and in the commandwindow appears the number 1314.
the code is this

Savekey("HKEY_CURRENT_USER\Software\Microsoft\Sourcesafe","C:\temp\currentdb.reg")

whats wrong?
thans for help

(sorry for my bad english)


Mart
(KiX Supporter)
2007-03-21 04:39 PM
Re: 1314 with the SaveKey command

1314 means that the user executing the command does not have the proper privileges.

Have a look at: http://msdn2.microsoft.com/en-us/library/ms681381.aspx for an explanation for all system error codes.


Les
(KiX Master)
2007-03-21 06:11 PM
Re: 1314 with the SaveKey command

Search the FAQ forum for the answer.

Sealeopard
(KiX Master)
2007-03-22 04:21 AM
Re: 1314 with the SaveKey command

And as documented in the KiXtart Manual
 Quote:
SAVEKEY requires Backup and Restore privileges