This error was reported by a user of our application. I was wondering if anyone else ever saw something similar or had any suggestions in how to determine the root cause ?
Server Error in '/' Application. Cannot get the query string. 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. LINE IN THE NVELOCITY VIEW: #set($returnUrl = $Request.RawUrl) EXCEPTION: Exception Details: System.Web.HttpException: Cannot get the query string. 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): Cannot get the query string.] System.Web.Hosting.ISAPIWorkerRequest.GetQueryString() +2497644 System.Web.Hosting.ISAPIWorkerRequest.GetRawUrl() +9 System.Web.HttpRequest.get_RawUrl() +17 Castle.MonoRail.Framework.Adapters.RequestAdapter.get_RawUrl() +11 [MethodInvocationException: Invocation of method 'RawUrl' in Castle.MonoRail.Framework.Adapters.RequestAdapter, template components/RightRailComponent\default.vm Line 15 Column 38 threw an exception] NVelocity.Runtime.Parser.Node.ASTIdentifier.Execute(Object o, IInternalContextAdapter context) +1274 NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context) +584 NVelocity.Runtime.Parser.Node.ASTReference.Value(IInternalContextAdapter context) +19 NVelocity.Runtime.Parser.Node.ASTSetDirective.Render(IInternalContextAda pter context, TextWriter writer) +18 NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) +55 Castle.MonoRail.Framework.Views.NVelocity.CustomDirectives.AbstractCompo nentDirective.RenderView(IInternalContextAdapter context, String viewToRender, Template template, TextWriter writer) +106 Castle.MonoRail.Framework.Views.NVelocity.CustomDirectives.AbstractCompo nentDirective.RenderComponentView(IInternalContextAdapter context, String viewToRender, TextWriter writer, NVelocityViewContextAdapter contextAdapter) +262 Castle.MonoRail.Framework.Views.NVelocity.CustomDirectives.AbstractCompo nentDirective.Render(IInternalContextAdapter context, TextWriter writer, INode node) +594 NVelocity.Runtime.Parser.Node.ASTDirective.Render(IInternalContextAdapte r context, TextWriter writer) +21 NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) +55 NVelocity.Template.Merge(IContext context, TextWriter writer) +135 Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.RenderLayo ut(String layoutName, String contents, IContext ctx, IRailsEngineContext context, TextWriter output) +94 [RailsException: Error processing layout. Maybe the layout file does not exists? File: layouts\portal\mx\default.vm] Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.RenderLayo ut(String layoutName, String contents, IContext ctx, IRailsEngineContext context, TextWriter output) +212 Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.ProcessLay out(String contents, Controller controller, IContext ctx, IRailsEngineContext context) +87 Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.Process(IR ailsEngineContext context, Controller controller, String viewName) +311 Castle.MonoRail.Framework.Services.DefaultViewEngineManager.Process(IRai lsEngineContext context, Controller controller, String templateName) +178 Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessView() +32 Castle.MonoRail.Framework.ControllerLifecycleExecutor.ProcessSelectedAct ion(IDictionary actionArgs) +625 Castle.MonoRail.Framework.MonoRailHttpHandler.Process(IRailsEngineContex t context) +359 Castle.MonoRail.Framework.MonoRailHttpHandler.ProcessRequest(HttpContext context) +18 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutio nStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
