Billy
03-20-2006, 10:48 PM
If I declare an ASPX page within a web.config's spring/objects, then PeterBlum validators fail with the following error:
------------------
Request is not available in this context
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.Web.HttpException: Request is not available in this context
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:
[HttpException (0x80004005): Request is not available in this context]
System.Web.UI.Page.get_Request() +2025389
PeterBlum.VAM.TrueBrowser.GetTrueBrowser(Page pPage) +73
PeterBlum.VAM.BaseValidationSummary.OnPreRender(Ev entArgs pArgs) +52
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
------------------
Would have any insight as to why the Request object isn't available and what I might be able to do to fix it?
Thanks!
Billy
------------------
Request is not available in this context
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.Web.HttpException: Request is not available in this context
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:
[HttpException (0x80004005): Request is not available in this context]
System.Web.UI.Page.get_Request() +2025389
PeterBlum.VAM.TrueBrowser.GetTrueBrowser(Page pPage) +73
PeterBlum.VAM.BaseValidationSummary.OnPreRender(Ev entArgs pArgs) +52
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
------------------
Would have any insight as to why the Request object isn't available and what I might be able to do to fix it?
Thanks!
Billy