Forward Commands in Maverick.NET
2004-03-01 01:02:52 GMT
I wanted to thank Jim for the quick response on my last post about Maverick Command Forwarding. I tried the suggestion you made about simply have a view path point to another command, and it was very close to working, but when the HttpRequest.Server.Execute(“path”, “outputstream”) gets called I get an error stating with the following stack trace: Any idea what would be causing this? I can go to the “role_create.m” action directly without any problems, it’s just when I try to transfer to it from another command.
“Error executing child request for /controller/role_create.m. “
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: Error executing child request for /controller/role_create.m.
Line 83: path = vctx.HttpContext.Request.ApplicationPath + "/" + this.path;Line 84: Line 85: vctx.HttpContext.Server.Execute(path, output);Line 86: output.Flush();Line 87: next.Go();
Source File: c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\View\DispatchedViewFactory.cs Line: 85
[HttpException (0x80004005): Error executing child request for /controller/role_create.m.] System.Web.HttpServerUtility.ExecuteInternal(String path, TextWriter writer, Boolean preserveForm) +1756 System.Web.HttpServerUtility.Execute(String path, TextWriter writer) +11 Maverick.View.DispatchedView.Go(IViewContext vctx) in c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\View\DispatchedViewFactory.cs:85 Maverick.View.DocumentView.Go(IViewContext vctx) in c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\View\DocumentView.cs:37 Maverick.Flow.CommandBase.RunView(String viewName, MaverickContext mctx) in c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\Flow\CommandBase.cs:49 Maverick.Flow.CommandBase.Go(MaverickContext mctx) in c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\Flow\CommandBase.cs:27 Maverick.Dispatcher.ProcessRequest(HttpContext context) in c:\CMSDEV\CMS\Version_1\3_Construction\Iteration_2\ThirdParty\Maverick\Dispatcher.cs:220 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
This communication, including any and all attachments, is confidential and intended only for the use of the person or entity to which it is addressed and may contain privileged and/or confidential material. It is intended only for the recipient[s] to whom it is addressed. Any use, disclosure, review, retransmission, distribution, or printing, does not constitute a waiver of privilege on behalf of the intended recipient and is strictly prohibited. If you have received this email in error, please contact the sender as above and delete the original and any copy of this email or any printout thereof, immediately. Your cooperation is appreciated.