Posted on 16/03/2022 03:58:59
Hi Nocolai,
1. Frontend
I followed your webinar. I copied out bin folder, Global.asax, and web.conifg to another separate folder and pointing it in IIS.
But when I access the site it cuase an error below.
[NullReferenceException: Object reference not set to an instance of an object.]
Dynamicweb.Security.Permissions.PermissionContext.EnsureContextIsOnTopOfStack(PermissionContext permissionContext) +81
Dynamicweb.Security.Permissions.PermissionContext.get_AnonymousPermissionContext() +35
Dynamicweb.Security.Permissions.PermissionContext.Frontend() +36
Dynamicweb.Security.Permissions.PermissionControlledExtension.GetPermission(IPermissionControlled obj) +69
Dynamicweb.Security.Permissions.PermissionControlledExtension.HasPermission(IPermissionControlled obj, PermissionLevel level) +27
Dynamicweb.Frontend.PageView.Load() +2424
Dynamicweb.AspNet.DynamicwebHttpHandler.ProcessRequest(HttpContext context) +49
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +541
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +74
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92
|
2. Backend
I just trying to separate backend into another domain as well, http://admin.example.com. but it doesn't work. Is there workaround for back-end separation?
Please refer to the attached screenshots.