Showing results for 
Search instead for 
Did you mean: 

An Exceptional Error 5022 error appears in HRC 8.0 or 8.5 when a user tries to login to HRC in a Windows 7 64bit machine


When a user tries to login to HRC, the following error is seen: “An Exceptional Error occurred. Application exiting.  Check the log file for error 5022”

This could occurs because of a particular file and its dependant .dll files being unregistered. You can verify from the logs, when you see the error similar to:

“Error # 339 ,Description= Component 'MSMASK32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid ,LastDllError= 0”

Therefore, please follow this workaround:

  • Reinstall HRC (install as Administrator this time)
  • If the issue still remains, verify the logs if you see the above mentioned error.
  • If yes, please register the dll manually.

Open the “command prompt” on the PC

  • •1.       cd<push spacebar>C:\Windows\SysWOW64 <push Enter key>
  • •2.       regsvr32<push spacebar>msmask32.ocx<push Enter key>

You should get a prompt saying “DllRegisterServer in MSMASK32.ocx succeeded”

Try to open and login to HRC again.

P.S. The .ocx file name could be different to the one mentioned here.

Content for Community-Ad