Error: 'Unable to generate key'

From FreeAllegiance Wiki
Revision as of 22:40, 10 November 2007 by Juckto (talk | contribs)
Jump to navigationJump to search

This problem is characterized by the following output in ASGS's debug log:

   • Initializing Form
   • Reading Settings
   • Unable to Read Registry Values
   • Exception has been thrown by the target of an invocation.
   • Ready
   • Saving Settings
   • Unable to Save Registry Values.
   • Exception has been thrown by the target of an invocation.
   • Checking connectivity
   • Using Port: DirectPlay
   • Checking ASGS Client Version
   • Client Version: xx
   • Server Version: xx
   • Preparing Key
   • Unable to generate key
   • Exception has been thrown by the target of an invocation.

This error can occur in two cases.

  • Your outdated version of Windows (2000, ME, or 98SE) does not have the High Encryption Pack installed.
    To install it, please visit http://windowsupdate.microsoft.com and look for the "High Encryption Pack" update. After this update is installed, the problem should be resolved.
  • ASGS does not have adequate permissions to read/write the registry keys required to generate its encryption key.
    ASGS requires access to certain registry keys in order to obtain values required for user validation. If your system is "locked down" too tightly, your current Windows Account may not have adequate permissions to read the necessary registry keys.
    Review your security settings and ensure ASGS has adequate access to the Windows Registry and its keys.

Should your problem still persist, please create a new post in the Helpline Forum following the template described in the READ ME FIRST.