I have two load balanced servers and i'm using Web Deploy to copy over IIS settings and files. Whats weird is when i try to visit a page (.aspx) that does not exist i get two different error messages. Does anyone know what is causing this as these server
should be identical?
Master Stack:
Time : 13/02/2014 12:06:54 Error : The file '/foo.aspx' does not exist. Source : System.Web Method : Void CheckVirtualFileExists(System.Web.VirtualPath) Stack :
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
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.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Mirror1 Stack:
Time : 13/02/2014 12:08:22 Error : The file '/foo.aspx' does not exist. Source : System.Web Method : System.Web.Compilation.BuildResult GetVPathBuildResultInternal(System.Web.VirtualPath, Boolean, Boolean, Boolean, Boolean, Boolean) Stack :
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)
Could it be just that on one site you have accessed directly to this page while on the other one you have first passed on another page triggering a first compilation pass ?
So on one site it would fail when it tries to *compile* a non existing page while on the other it would fail when it tries to *access* a non existing page ?
Member
10 Points
4 Posts
Mirrored Servers Not Handling 404's the same
Feb 13, 2014 07:10 AM|tbuzzer|LINK
I have two load balanced servers and i'm using Web Deploy to copy over IIS settings and files. Whats weird is when i try to visit a page (.aspx) that does not exist i get two different error messages. Does anyone know what is causing this as these server should be identical?
Master Stack:
Time : 13/02/2014 12:06:54
Error : The file '/foo.aspx' does not exist.
Source : System.Web
Method : Void CheckVirtualFileExists(System.Web.VirtualPath)
Stack :
Mirror1 Stack:
Time : 13/02/2014 12:08:22
Error : The file '/foo.aspx' does not exist.
Source : System.Web
Method : System.Web.Compilation.BuildResult GetVPathBuildResultInternal(System.Web.VirtualPath, Boolean, Boolean, Boolean, Boolean, Boolean)
Stack :
All-Star
48260 Points
17980 Posts
Re: Mirrored Servers Not Handling 404's the same
Feb 13, 2014 08:19 AM|PatriceSc|LINK
Hi,
Could it be just that on one site you have accessed directly to this page while on the other one you have first passed on another page triggering a first compilation pass ?
So on one site it would fail when it tries to *compile* a non existing page while on the other it would fail when it tries to *access* a non existing page ?