Enable Request Debugging Output not working

0 views
Skip to first unread message

hofar...@houseoffusion.com

unread,
Apr 4, 2015, 10:49:51 PM4/4/15
to ColdFusion Technical Talk

For some reason, suddenly debug output has stopped working on my
development machine. I'm not sure why. I have tried turning it off and
on, restarting the server, restarting the box. Nothing has helped. Google
has failed me. Running on windows 8.1 and IIS.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360375

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 6:59:53 AM4/5/15
to ColdFusion Technical Talk

Do you have any ip restrictions set for the debug output?
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360376

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 2:29:43 PM4/5/15
to ColdFusion Technical Talk

I have added 127.0.0.1 as a ip to serve debug output to, and I have also
removed all ips to have debug info served to all ips. Neither results in
output.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360377

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 2:52:42 PM4/5/15
to ColdFusion Technical Talk

I had this recently... The problem wasn't Coldfusion at all, it was IIS. Even locally I couldn't get debugging. Check website settings and make sure "friendly error messages" or whatever it turned off (sorry I'm not at a computer so can't remember the exact terminology)

Sent from my iPhone
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360378

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 4:11:44 PM4/5/15
to ColdFusion Technical Talk

The most common cause is that you have a CFSETTING in your code somewhere
that is preventing the debug output.
Have you tried simply creating a simple test page outside of your
application to check if the debug output works ?
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360379

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 5:39:01 PM4/5/15
to ColdFusion Technical Talk

IIS friendly error messages has absolutely nothing to do with Robust
debugging.


Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411


On Mon, Apr 6, 2015 at 4:52 AM, Charles Sheehan-Miles <
cha...@sheehanmiles.net> wrote:

>
> I had this recently... The problem wasn't Coldfusion at all, it was IIS.
> Even locally I couldn't get debugging. Check website settings and make sure
> "friendly error messages" or whatever it turned off (sorry I'm not at a
> computer so can't remember the exact terminology)
>
> Sent from my iPhone
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360380

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 8:31:40 PM4/5/15
to ColdFusion Technical Talk

With all due respect, that’s simply not true. IIS, depending on your settings, will replace coldfusion errors with a blank 500 error page. A simple google search turn up dozens and dozens of times that question was asked and resolved by changing IIS settings. That’s how I fixed my dev machine a week ago.

http://stackoverflow.com/questions/13426984/500-internal-server-error-for-sql-server-error
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360381

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 9:04:22 PM4/5/15
to ColdFusion Technical Talk

That is correct and why there is a setting in ColdFusion to pass on the
correct HTTP status code to IIS.
On Mon, Apr 6, 2015 at 10:31 AM, Charles Sheehan-Miles <
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360382

hofar...@houseoffusion.com

unread,
Apr 5, 2015, 10:25:18 PM4/5/15
to ColdFusion Technical Talk

yes that is true, however debug output is not an error, it is the debugging
information that added to the bottom of a page.


On Mon, Apr 6, 2015 at 1:31 AM, Charles Sheehan-Miles <
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360383

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 2:17:59 AM4/6/15
to ColdFusion Technical Talk

Not to mention the display friendly error messages in IIS, is for ASP!!
On Mon, Apr 6, 2015 at 12:24 PM, Russ Michaels <ru...@michaels.me.uk> wrote:

>
> yes that is true, however debug output is not an error, it is the debugging
> information that added to the bottom of a page.
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360384

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 9:20:20 AM4/6/15
to ColdFusion Technical Talk

Andrew,

IIS will capture CF errors and display friendly error messages if it is set to. The debugging output, however, should display regardless of this setting as, as you stated, it is not an error. I would look at the source to see if the output is being generated and simply being hidden by a code or CSS change. I know that I've had that happen to me. Also check to see that the setting in the CF admin has not changes to display the output in "dockable" state. If you have your browser set to open everything in new tabs, the output would be on a different tab. I would also, as Russ stated, look for CFSETTING tags that might be disabling the output.

But if it suddenly stopped working, then I would suspect an unclosed tag or CSS change.

Dave

-----Original Message-----
From: Andrew Scott [mailto:and...@andyscott.id.au]
Sent: Monday, April 06, 2015 2:17 AM
To: cf-talk
Subject: Re: Enable Request Debugging Output not working


Not to mention the display friendly error messages in IIS, is for ASP!!

On Mon, Apr 6, 2015 at 12:24 PM, Russ Michaels <ru...@michaels.me.uk> wrote:

>
> yes that is true, however debug output is not an error, it is the
> debugging information that added to the bottom of a page.
>
>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360385

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 11:20:17 AM4/6/15
to ColdFusion Technical Talk

David,

I am very well aware after nearly 20 years of CF Development how it works,
IIS doesn't capture CF errors at all. It only displays what is sent to it,
in ColdFusion's case if it is not sending the status codes it usually ends
up with a blank page. You can make any adjustments to IIS you like it will
make no difference.
On Mon, Apr 6, 2015 at 11:20 PM, David Phelan <DPH...@emerginghealthit.com>
wrote:
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360387

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 11:45:40 AM4/6/15
to ColdFusion Technical Talk

> I am very well aware after nearly 20 years of CF Development how it works,
> IIS doesn't capture CF errors at all. It only displays what is sent to it,
> in ColdFusion's case if it is not sending the status codes it usually ends
> up with a blank page. You can make any adjustments to IIS you like it will
> make no difference.

That has not been my experience. More than once I've had to change IIS
settings to view CF's error messages.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360388

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:02:20 PM4/6/15
to ColdFusion Technical Talk

I guess my installs of IIS work, cause the only time I have to make any
changes is in CF where it says send HTTP status codes, nothing more and
nothing less.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360389

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:23:51 PM4/6/15
to ColdFusion Technical Talk

> I guess my installs of IIS work, cause the only time I have to make any
> changes is in CF where it says send HTTP status codes, nothing more and
> nothing less.

That's good for you! But there are many installs of IIS out there
besides your own, and those installs might be configured differently
from yours for a variety of reasons.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360390

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:32:40 PM4/6/15
to ColdFusion Technical Talk

But Dave.....

This in IIS

"friendly error messages"

Has nothing to do with ColdFusion output, nothing at all.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360391

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:46:22 PM4/6/15
to ColdFusion Technical Talk

I believe the issue here, is that when you have the status code option set in ColdFusion, ColdFusion uses an H TTP status of 200, even for error pages.

If you don't have that option, ColdFusion sends out status codes of 500 or whatever with there's an eeror. IIS does intercept those.

Forget the imperfect language, I'm dictating to my phone


Sent from my iPhone
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360392

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:59:34 PM4/6/15
to ColdFusion Technical Talk

Charles it is neither here nor there. ColdFusion Robust Exceptions need
this setting to be enabled in ColdFusion, the display friendly error
messages is a browser option and is not something one has to touch anyway.
The other option in IIS is the setting of Custom ASP errors, there is no
other setting in IIS that deals with Friendly error messages. So if you
don't have ASP installed like myself, you will not even see these options
at all.

Now as ColdFusion requires you to have the setting I clearly stated earlier
in the thread, that means Robust Exceptions will be displayed and if you
have the other options set attached to the end of your pages output. There
is NO setting in IIS that can or will need to be touched if this section of
ColdFusion is not working, I made that very clear as well.

I just checked 3 servers here that doesn't have ASP.Net installed, not one
of these servers has any setting that can adjust friendly error messages,
but there is this option in IE if you use IE that is. The only thing I know
of is when you use ASP.Net so that it displays more info than the friendly
message that is displayed. In ASP.Net this is the same as turning on Robust
Exceptions in ColdFusion.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360393

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 12:59:35 PM4/6/15
to ColdFusion Technical Talk

> This in IIS
>
> "friendly error messages"
>
> Has nothing to do with ColdFusion output, nothing at all.

No, but that's not what I responded to. Here's what I responded to,
specifically:

"I am very well aware after nearly 20 years of CF Development how it
works, IIS doesn't capture CF errors at all. It only displays what is
sent to it, in ColdFusion's case if it is not sending the status codes
it usually ends up with a blank page. You can make any adjustments to
IIS you like it will make no difference."

This has not been true, in my experience. And all it takes is one case
where it's not true, to be able to state categorically that it's not
always true.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360394

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:02:36 PM4/6/15
to ColdFusion Technical Talk

Whatever Dave, like I said this option is for ASP only.

Here is a support article that a quick Google search dug up, if you can
provide where in IIS you make this change I will eat my words.

https://support.microsoft.com/en-us/kb/294807?wa=wsignin1.0
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360395

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:17:42 PM4/6/15
to ColdFusion Technical Talk

Mark, going back to your original problem. I am not sure if you have IPv4 &
IPv6 installed, but I just double checked that the local loop backs
addresse for IpV4 & V6 are in my IP debugging list. Can you try adding them
both in and restarting ColdFusion and lets us know how you go.
On Tue, Apr 7, 2015 at 3:01 AM, Andrew Scott <and...@andyscott.id.au>
wrote:
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360396

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:21:11 PM4/6/15
to ColdFusion Technical Talk

> Whatever Dave, like I said this option is for ASP only.
>
> Here is a support article that a quick Google search dug up, if you can
> provide where in IIS you make this change I will eat my words.
>
> https://support.microsoft.com/en-us/kb/294807?wa=wsignin1.0

I'm not sure what posting a page about an IE issue has to do with IIS.
It sounds like you're talking about one thing and I'm talking about
another.

IIS has the ability to postprocess any sort of server-side error
messages (or any other responses for that matter). This is not
specific to ASP.NET - it applies to all messages that pass through
IIS. Here's a screenshot I just put together demonstrating this
feature.

http://i.imgur.com/tBfFfC9.png

In this screenshot, the only thing I've changed from the default
behavior is the "Edit Error Pages Settings" - the default value is the
third radio button.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360397

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:23:55 PM4/6/15
to ColdFusion Technical Talk

You're right Dave you may need to re-read the threads again, because I am
well aware of the error status pages. I was mainly talking to Charles about
Friendly Error messages when you dropped by, if you are confused by that,
this is not my problem.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360398

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:27:58 PM4/6/15
to ColdFusion Technical Talk

> You're right Dave you may need to re-read the threads again, because I am
> well aware of the error status pages. I was mainly talking to Charles about
> Friendly Error messages when you dropped by, if you are confused by that,
> this is not my problem.

You wrote an email. I responded to that email. If your goal is to
communicate clearly with other people, it is your problem if you are
unable to do that.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360399

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:28:52 PM4/6/15
to ColdFusion Technical Talk

by default IIS will display a 500 server error if it gets back a CF error
page as it doesn't know what to do with it as it doesn't send a valid error
code that matches any IIS errors.
In order to see the REAL cf error you have to turn on detailed error
messages in IIS, or you have to create a custom error page to display
instead of the 500 server error.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360400

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 1:31:40 PM4/6/15
to ColdFusion Technical Talk

rotflmao...

Dave, you responded with

"That has not been my experience. More than once I've had to change IIS
settings to view CF's error messages.
​"

Like I stated you don't need to go anywhere near IIS to do this, there is
two options in ColdFusion one is the sending of status codes and the other
is Robust Debugging. All I did was point out to you, that in IIS there is
no such thing as friendly error messages. Unless you mean going into that
place and turn it of for 500, like I said you don't have to touch it. You
can if you want, but it is not necessary.


​

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411


Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360401

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:24:57 PM4/6/15
to ColdFusion Technical Talk

Russ,

By default IIS is set to either send Detailed if local or Custom if remote,
if one is changing this setting on a remote server it is likely to be a
production server and should not be be touched. At least this is the way I
read that, but again you don't need to touch any IIS setting when dealing
with ColdFusion errors at all.

Which can be explained in more detail here.

http://www.iis.net/learn/troubleshoot/diagnosing-http-errors/how-to-use-http-detailed-errors-in-iis
On Tue, Apr 7, 2015 at 3:28 AM, Russ Michaels <ru...@michaels.me.uk> wrote:

>
> by default IIS will display a 500 server error if it gets back a CF error
> page as it doesn't know what to do with it as it doesn't send a valid error
> code that matches any IIS errors.
> In order to see the REAL cf error you have to turn on detailed error
> messages in IIS, or you have to create a custom error page to display
> instead of the 500 server error.
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360402

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:35:06 PM4/6/15
to ColdFusion Technical Talk

sorry but you are wrong, as a hosting provider I deal with this all the
time on many many servers.
what I said below is correct.

On Mon, Apr 6, 2015 at 8:23 PM, Andrew Scott <and...@andyscott.id.au>
wrote:

>
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360403

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:36:38 PM4/6/15
to ColdFusion Technical Talk

​rotflmao, as a hosting provider you should know better.​
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360404

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:48:47 PM4/6/15
to ColdFusion Technical Talk

clealry I do know better than you, I suggest you take off your arrogamce
hat for a while and actually try it with a clean install of IIS and you
will find out that I am correct and that CF errors are not displayed by
default, just a 500 server error.





On Mon, Apr 6, 2015 at 8:35 PM, Andrew Scott <and...@andyscott.id.au>
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360405

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:53:47 PM4/6/15
to ColdFusion Technical Talk

Russ,

*sigh* I think you're arguing with the wrong guy. Yes, that is what
happens. Under a default install of IIS, the setting for the error pages is
as described in the picture in the last link I sent. There is no denying
that is the default setting, then on top of that I clearly stated that YOU
MUST CHANGE the ColdFusion sending of Status codes for the ColdFusion
error, I also clearly stated that YOU DO NOT have to change any IIS setting
to do this. I then clearly provided a link to back up that YOU DO NOT have
to change any IIS setting.

Now I believe you're arguing with the wrong person and what you are arguing
back at me, is not what I have said at all!
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360406

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 3:54:36 PM4/6/15
to ColdFusion Technical Talk

My own personal, and albeit completely anecdotal, experience bears out what
Russ has written. By default you get the crappy 500 error, which the first
time I encountered it kept me running in circles for a while because I
didn't think it was coming from CF.

Hopefully the OP is at least being entertained if not helped.

MG
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360407

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 4:05:15 PM4/6/15
to ColdFusion Technical Talk

the only person arguing here is you, you seem very insistent on getting the
last word and one-upping everyone today.
All I have done is assert a fact I know to be true.

On Mon, Apr 6, 2015 at 8:52 PM, Andrew Scott <and...@andyscott.id.au>
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360408

hofar...@houseoffusion.com

unread,
Apr 6, 2015, 8:52:08 PM4/6/15
to ColdFusion Technical Talk

Russ,

But you told me I am wrong, then proceeded to tell me I said something I
didn't.

You're too funny Russ!
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360409
Reply all
Reply to author
Forward
0 new messages