Skip to main content
Answer

Unable to Login: The type initializer for 'PX.Data.PXCache' threw an exception.

  • February 11, 2021
  • 3 replies
  • 479 views

Naveen Boga
Captain II
Forum|alt.badge.img+19

Hello Everyone,

We are unable to login to Acumatica instance due to this error: The type initializer for 'PX.Data.PXCache' threw an exception.

Can anyone help me to resolve this issue.

Thanks in advanse.

 

 

 

Best answer by Gabriel Michaud

@nmansinha is right… 

Nayan, I have a suggestion, since such issues can be problematic to debug. it would be nice if Acumatica had some sort of safe mode to at least let us recover (for cases when we don’t have RDP access to the machine), and at the very least the ability to see a full stack trace. We’re in a catch-22 situation here - you can’t login because of the error, and you don’t have access to Help->Trace because of that.

3 replies

Nayan Vadher
Community Manager
Forum|alt.badge.img+2
  • Acumatica Developer Support
  • April 29, 2021

It could be due to customization.  I would clear out the customizations and check.


Gabriel Michaud
Captain II
Forum|alt.badge.img+11

@nmansinha is right… 

Nayan, I have a suggestion, since such issues can be problematic to debug. it would be nice if Acumatica had some sort of safe mode to at least let us recover (for cases when we don’t have RDP access to the machine), and at the very least the ability to see a full stack trace. We’re in a catch-22 situation here - you can’t login because of the error, and you don’t have access to Help->Trace because of that.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Author
  • Captain II
  • April 30, 2021

Hi, @nmansinha Understood that it is occurred due to the customization.

Since many packages published in the instance, we are NOT sure which is package/customization is causing this issue. 

It would be better if we get Trace Error messages as suggestedd by @Gabriel Michaud