Re: Custom Error Page for ASP.NET

2009-08-05 Thread Cesar Sanz
Oh Great idea, I've never thought it before.. thanks, I will give it a try. - Original Message - From: Ricardo Lopes To: castle-project-users@googlegroups.com Sent: Wednesday, August 05, 2009 2:50 AM Subject: Re: Custom Error Page for ASP.NET The action is not

Re: Custom Error Page for ASP.NET

2009-08-05 Thread Tiendq
> > - Original Message - > > *From:* Ricardo Lopes > > *To:* castle-project-users@googlegroups.com > > *Sent:* Tuesday, August 04, 2009 4:34 PM > > *Subject:* Re: Custom Error Page for ASP.NET > > > You can create a filter that instead of redirecting

Re: Custom Error Page for ASP.NET

2009-08-05 Thread Ricardo Lopes
al Message - > *From:* Ricardo Lopes > *To:* castle-project-users@googlegroups.com > *Sent:* Tuesday, August 04, 2009 4:34 PM > *Subject:* Re: Custom Error Page for ASP.NET > > You can create a filter that instead of redirecting to the login page > return a status code 401 and cat

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Cesar Sanz
essage - From: Ricardo Lopes To: castle-project-users@googlegroups.com Sent: Tuesday, August 04, 2009 4:34 PM Subject: Re: Custom Error Page for ASP.NET You can create a filter that instead of redirecting to the login page return a status code 401 and catch that using jquery and

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Ricardo Lopes
> But don't know how to do it, pleas help me > > > > > > - Original Message - > From: "John Simons" > To: "Castle Project Users" > Sent: Tuesday, August 04, 2009 3:43 PM > Subject: Re: Custom Error Page for ASP.NET > > > >

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Cesar Sanz
ohn Simons" To: "Castle Project Users" Sent: Tuesday, August 04, 2009 3:43 PM Subject: Re: Custom Error Page for ASP.NET Have look at this blog: http://chadly.net/post/2009/03/10/Custom-MonorailHttpHandlerFactory-to-handle-404s-gracefully.aspx It should give you the answer :)

Re: Custom Error Page for ASP.NET

2009-08-04 Thread John Simons
- >   From: Ricardo Lopes >   To: castle-project-users@googlegroups.com >   Sent: Tuesday, August 04, 2009 2:09 PM >   Subject: Re: Custom Error Page for ASP.NET > >   I created an error controller to show nice error pages (is just another > controller with a different layout an

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Cesar Sanz
Ok, I will take a look, Thanks - Original Message - From: Ricardo Lopes To: castle-project-users@googlegroups.com Sent: Tuesday, August 04, 2009 2:09 PM Subject: Re: Custom Error Page for ASP.NET I created an error controller to show nice error pages (is just another

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Ricardo Lopes
orks, but as I use a template (which contains a menu) I want to > display the error using a .vm file instead of a > .aspx page. > > How can I do that? > > - Original Message - > > From: "James Curran" > To: > Sent: Tuesday, August 04, 2009 1:43 PM &g

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Cesar Sanz
t: Tuesday, August 04, 2009 1:43 PM Subject: Re: Custom Error Page for ASP.NET I believe those are still controlled by the section in the web.config. On Tue, Aug 4, 2009 at 3:04 PM, Cesar Sanz wrote: >> What sorts of exceptions are they > Well, I am still in prototype, so, when I

Re: Custom Error Page for ASP.NET

2009-08-04 Thread James Curran
u mean internal errors? > > - Original Message - > From: Tuna Toksoz > To: castle-project-users@googlegroups.com > Sent: Tuesday, August 04, 2009 12:17 PM > Subject: Re: Custom Error Page for ASP.NET > What sorts of exceptions are they, I mean where do they occur? In action, &

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Cesar Sanz
the application have are written to a log file) >You can handle global exceptions via Custom 500 pages perhaps Do you mean internal errors? - Original Message - From: Tuna Toksoz To: castle-project-users@googlegroups.com Sent: Tuesday, August 04, 2009 12:17 PM Subject: Re: Custom

Re: Custom Error Page for ASP.NET

2009-08-04 Thread Tuna Toksoz
What sorts of exceptions are they, I mean where do they occur? In action, filter, etc?You can handle global exceptions via Custom 500 pages perhaps Tuna Toksöz Eternal sunshine of the open source mind. http://devlicio.us/blogs/tuna_toksoz http://tunatoksoz.com http://twitter.com/tehlike On Tu