Expired page ending up on 500 error

Vote:
 

Hi All

When browsing expired pages i am getting 500 error instead of login page. When i checked the log i get below exception.

Can you please help here.

2016-06-01 06:55:27,693 [60] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpException (0x80004005): The file '/Util/login.aspx' does not exist.
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

#149442
Jun 01, 2016 8:28
Vote:
 

At least from the log message itself - looks like you are missing login page at all.

#149448
Jun 01, 2016 10:27
Vote:
 

When am going from CMS site its redirecting to login page thats fine.

But when am going from front end site then am getting this error.

#149451
Jun 01, 2016 10:31
Vote:
 

"CMS site" = server 1, and "front end site" = server 2?

#149454
Jun 01, 2016 10:59
Vote:
 

Yes Valdis Iljuconoks   

We have one server for CMS and another for Front end sites.

#149473
Jun 01, 2016 13:50
Vote:
 

Do you have installation on front-end server with no EPiServer editing UI (like turned off via config or any other method)?

#149474
Jun 01, 2016 13:52
Vote:
 

Can you be more specific like where i can check this.

#149476
Jun 01, 2016 13:56
Vote:
 

For instance, on frontend - if you go to "/cms" or "/episerver" or any other url where EPiServer Admin UI is added. Do you receive the same error? It just looks like EPiServer is trying to give you login page to access expired page (in order for editors to be able to edit that) but EPiServer Admin UI is not configured on front-end servers.

What is desired outcome? you should see 404?

#149477
Jun 01, 2016 13:59
Vote:
 

Yeah from front end we do not have access to Episerver UI.

From CMS site am not getting this error. Its as expected gng to login page.

outcome is 500 error when accessing from front end.

#149478
Edited, Jun 01, 2016 14:02
Vote:
 

Hi Valdis Iljuconoks

Any solution you know for this case.

Please suggest.

#149565
Jun 03, 2016 11:52
Vote:
 

What is desired outcome when visitor will go to expired page in front-end server? Should epi return 404 error instead?

#149568
Jun 03, 2016 12:50
Vote:
 
#149570
Jun 03, 2016 13:06
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.