on 2013 Apr 19 10:39 AM
The service has the "-ep" parameter but won't prompt for the encryption key and will not start. Error in Windows event log is "Missing database encryption"...duh: I expect it to prompt me!
Anybody can reproduce?
OS: Win 7 Pro 64 bits, 8Gb ram SQL Anywhere 16 dev edition
When running as a service, there is no way for the server to prompt for an encryption key. You will need to specify the -ek switch on the command line. If you want, you can specify the -ek switch in a file and use the @file
syntax to pass it to the server. You can encrypt/obfuscate this file with dbfhide if you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would amend Graeme's response to say that if you want the file 'encrypted', use dbfhide -w or dbfhide -wm. Otherwise, the file is just obfuscated.
http://dcx.sybase.com/index.html#sa160/en/dbadmin/file-hiding-utility-syntax.html*d5e56897
Services cannot prompt: Windows isolates all services so that they cannot access the desktop.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The services isolation (aka session 0 isolation) was added by Microsoft in Windows Vista and exists for security reasons (ie, no user-level code running on the desktop can have a security attack vector into a system service via a GUI presented by that service). Also, Microsoft recommends (and requires for Windows Certification fwiw) that services never present GUI elements and warns that "interact with desktop" will likely be removed in a future version of the OS.
It looks like the -ep portion of the doc didn't get updated. I will add a note on DCX.
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.