Server Error in '/' Application.

Couldn't load user record. Portal context User is null.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: Couldn't load user record. Portal context User is null.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ApplicationException: Couldn't load user record. Portal context User is null.]
   Adxstudio.Xrm.Web.UI.WebControls.WebForm.TryGetPrimaryEntitySourceDefinition(OrganizationServiceContext context, Entity step, WebFormEntitySourceDefinition& definition, Entity& record) in C:\__w\1\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\WebForm.cs:2482
   Adxstudio.Xrm.Web.UI.WebControls.WebForm.CreateChildControls() in C:\__w\1\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\WebForm.cs:884
   System.Web.UI.Control.EnsureChildControls() +130
   System.Web.UI.Control.PreRenderRecursiveInternal() +66
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Control.PreRenderRecursiveInternal() +297
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7479


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0