Try our conversational search powered by Generative AI!

Expired page ending up on 500 error


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)

Jun 01, 2016 8:28

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

Jun 01, 2016 10:27

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.

Jun 01, 2016 10:31

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

Jun 01, 2016 10:59

Yes Valdis Iljuconoks   

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

Jun 01, 2016 13:50

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

Jun 01, 2016 13:52

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

Jun 01, 2016 13:56

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?

Jun 01, 2016 13:59

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.

Edited, Jun 01, 2016 14:02

Hi Valdis Iljuconoks

Any solution you know for this case.

Please suggest.

Jun 03, 2016 11:52

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

Jun 03, 2016 12:50
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.