customize "500 there is no web application configured to service your request" error

95 views
Skip to first unread message

Taco Fleur

unread,
Jan 20, 2008, 4:44:00 PM1/20/08
to cfau...@googlegroups.com
Hello all,
 
I was wondering if anyone knew how to customize the 500 error "500 there is no web application configured to service your request"?
I'm pretty confident I saw an article how to do it a while ago, and now I can't find it.

--
>>> http://www.tiggy.com.au
Looking for a business, product or service? Try the new Australian search engine www.clickfind.com.au
blog: http://australian-search-engine.blogspot.com/  

Blair McKenzie

unread,
Jan 20, 2008, 5:29:42 PM1/20/08
to cfau...@googlegroups.com
It sounds like the error you get when CF isn't available. Most webservers allow you to customise those pages.

If you want to customise CF 500 error pages, you can change the Site Wide error page in CF admin. The only catch is that it has to be the same page for every application on the server, so if you have more than one you need to put in a switch. The amount of CF you can use in it depends on what kind of error threw to the page, but I'm not really familiar with all that.

Blair

Andrew Scott

unread,
Jan 20, 2008, 5:56:27 PM1/20/08
to cfau...@googlegroups.com

Taco,

 

That’s an IIS configuration for error templating. As far as I am aware the server throws a 500 error and is outside of Coldfusion to capture.

 



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273

Taco Fleur

unread,
Jan 20, 2008, 6:23:58 PM1/20/08
to cfau...@googlegroups.com
When I looked at it a few weeks ago, I first went through the IIS templates, they did not match the text shown when CF is restarting.
 
I then did some searching on how to customize it, I found an article about it, but I can't seem to find it now. I know it did not have to do with IIS... It also wasn't the site wide error handler that had to be modified. I remember having to dig into the cf config files to get it customized.. hmm, will have to do some more searching.
 
thanks.

 

Andrew Scott

unread,
Jan 20, 2008, 6:24:03 PM1/20/08
to cfau...@googlegroups.com

Actually, Coldfusion can throw a server 500 error, on rare occasions, when the server errors and there is no output to the browser. CF will throw a server 500 error, but I am not 100% sure about this. But when CF throws that error, it is IIS that takes over and displays the error.

 

That type of error has caught me out a few times over the years.



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273

 

 

From: cfau...@googlegroups.com [mailto:cfau...@googlegroups.com] On Behalf Of Blair McKenzie


Sent: Monday, 21 January 2008 9:30 AM
To: cfau...@googlegroups.com

Subject: [cfaussie] Re: customize "500 there is no web application configured to service your request" error

Andrew Scott

unread,
Jan 20, 2008, 6:40:41 PM1/20/08
to cfau...@googlegroups.com

Taco,

 

Yeah, there are some templates in the directories that CF uses for exceptions. These are generally in the

 

wwwroot\WEB-INF\exception

 

And yes that is a Hardcoded Coldfusion exception at runtime.

Reply all
Reply to author
Forward
0 new messages