Jump to content
vhanla

Error: Failed to create key globals disables/corrupts license manager

Recommended Posts

This is the second time this is happening to my Delphi Rio Community Edition.

 

image.png.7da9ac7fb8dbb4d991cbec3e38cbfed9.png

 

I don't know why it occurs, it shows that error `Failed to create key Globals` and doesn't even allow to close the IDE. After forcing (Task Manager) to close it, and restarting the IDE, it asks for the license, but in license manager my license is registered.

image.png.ade10b70e6f5d559cc70f04d7cfceb1e.png

I also removed it, and imported again, but it shows the following window.

image.png.b6c4a98869babc91bc0e7167856e9986.png

As I mentioned this happened before, the only way to fix that was to uninstall Delphi and install it again using that reg txt file, even activates online. I suppose somehow license manager gets corrupted. I don't know.

 

Here is the full error message:

[503560A5]{rtl260.bpl  } System.Win.Registry.TRegistry.CreateKey (Line 328, "System.Win.Registry.pas" + 9) + $2
[503589F7]{rtl260.bpl  } System.Win.Registry.TRegistryIniFile.WriteDate (Line 1437, "System.Win.Registry.pas" + 18) + $2
[004B9CDB]{bds.exe     } AppMain.TAppBuilder.LetsGetPhysical (Line 6863, "AppMain.pas" + 4) + $17
[5005A248]{rtl260.bpl  } System.@GetMem (Line 4791, "System.pas" + 20) + $0
[50061B3E]{rtl260.bpl  } System.@NewUnicodeString (Line 25168, "System.pas" + 10) + $0
[004DB298]{bds.exe     } SanctuaryChecker.TLicenseManager.ValidateLicenses (Line 1207, "SanctuaryChecker.pas" + 28) + $5
[500679A8]{rtl260.bpl  } System.@IntfClear (Line 38159, "System.pas" + 10) + $0
[50063FD8]{rtl260.bpl  } System.@FinalizeArray (Line 32812, "System.pas" + 144) + $0
[0C3D1CC2]{themeloader260.bpl} Idetheme.Stylemanager.TIDEThemeStyleEngine.UnRegisterSysStyleHook + $106
[50D197BC]{vcl260.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10122, "Vcl.Controls.pas" + 10) + $48
[50D19D47]{vcl260.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10278, "Vcl.Controls.pas" + 166) + $6
[223F679B]{delphide260.bpl} DelphiProject.TDelphiCodeIWin32Project._AddRef (Line 387, "DelphiProject.pas" + 1) + $1
[5005FA28]{rtl260.bpl  } System.TObject.GetInterface (Line 17832, "System.pas" + 8) + $A
[50E65245]{vcl260.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4652, "Vcl.Forms.pas" + 209) + $5
[208F7194]{coreide260.bpl} DocModul.TCodeIDocModule.QueryInterface (Line 2692, "DocModul.pas" + 2) + $0
[0C3F4FA6]{themeloader260.bpl} Idetheme.Styles.Nc.TNCContainer.FormWndProc + $206
[50D14ECC]{vcl260.bpl  } Vcl.Controls.TControl.Perform (Line 7198, "Vcl.Controls.pas" + 10) + $8
[50D14EE4]{vcl260.bpl  } Vcl.Controls.TControl.Perform (Line 7268, "Vcl.Controls.pas" + 1) + $4
[50D13942]{vcl260.bpl  } Vcl.Controls.TControl.GetTextBuf (Line 6253, "Vcl.Controls.pas" + 0) + $6
[50D139ED]{vcl260.bpl  } Vcl.Controls.TControl.GetText (Line 6311, "Vcl.Controls.pas" + 5) + $E
[5005A264]{rtl260.bpl  } System.@FreeMem (Line 4839, "System.pas" + 20) + $0
[50061BF8]{rtl260.bpl  } System.@UStrClr (Line 25388, "System.pas" + 14) + $0
[223F67AB]{delphide260.bpl} DelphiProject.TDelphiCodeIWin32Project._Release (Line 392, "DelphiProject.pas" + 1) + $1
[5005A264]{rtl260.bpl  } System.@FreeMem (Line 4839, "System.pas" + 20) + $0
[50061C5D]{rtl260.bpl  } System.@UStrArrayClr (Line 25537, "System.pas" + 16) + $0
[004AEF3C]{bds.exe     } AppMain.TAppBuilder.UpdateCaptionNow (Line 3023, "AppMain.pas" + 112) + $7C
[5005FA28]{rtl260.bpl  } System.TObject.GetInterface (Line 17832, "System.pas" + 8) + $A
[5005FA71]{rtl260.bpl  } System.TObject.GetInterface (Line 17839, "System.pas" + 15) + $10
[50068DF3]{rtl260.bpl  } System.TInterfacedObject.QueryInterface (Line 39295, "System.pas" + 1) + $8
[500679EE]{rtl260.bpl  } System.@IntfCast (Line 38281, "System.pas" + 12) + $0
[004AF590]{bds.exe     } AppMain.TAppBuilder.Idle (Line 3113, "AppMain.pas" + 34) + $1A
[50ECDE79]{vcl260.bpl  } Vcl.AppEvnts.TCustomApplicationEvents.DoIdle (Line 243, "Vcl.AppEvnts.pas" + 1) + $C
[50ECE6A2]{vcl260.bpl  } Vcl.AppEvnts.TMultiCaster.DoIdle (Line 515, "Vcl.AppEvnts.pas" + 5) + $E
[50E6F9AD]{vcl260.bpl  } Vcl.Forms.TApplication.Idle (Line 11325, "Vcl.Forms.pas" + 7) + $1C
[50E6EC83]{vcl260.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10777, "Vcl.Forms.pas" + 1) + $11
[50E6EFA9]{vcl260.bpl  } Vcl.Forms.TApplication.Run (Line 10915, "Vcl.Forms.pas" + 26) + $3
[0051D022]{bds.exe     } bds.bds (Line 214, "" + 7) + $7

I've tried to clean ProgramData Embarcadero folder, reimported license, it succeded but it shows the same window (above picture).

 

Does anyone know how to reactivate without reinstalling Delphi? Why it occurs? Apart from being a tedious work, it is annoying to reinstall third party Delphi packages (not from Get It), specially MANUALLY inserting each path for each packages.

 

 

 

 

Share this post


Link to post

Did you try -cleanregistryide command line switch option? Also you may read this article: Reset Rad Studio settings without uninstalling it.  If not help, you may try to totally uninstall Rad Studio according information, described in attached file (But remember that this instruction was write for previous version Rad Studio, in your case the version number must be 20.0 instead of 19.0)

manual_uninstall_of_rad_studio_delphi_c__builder_10.2_-_embarcadero_community.mht

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×