Skip to main content
Inspiring
May 26, 2012
Question

This webpage cannot be displayed

  • May 26, 2012
  • 3 replies
  • 8347 views

Hi,

I am working in a coldfusion application which is hosted in 2  windows servers with IIS versions 6.0 and 7.5. The problem is that nowadays the users are getting the IE error page 'Internet Explorer cannot display this webpage'. This issue is not bounded to a single page. Users are getting this issue in different pages when they click links or click the submit button. And this issue is replicated in two different servers. I thought of being this as a cache issue and tried with the nocache. But it didnt work. I am clueless about this now. Please help me out. Thanks.

This topic has been closed for replies.

3 replies

Participant
May 19, 2015

I'm running into the same exact issue - even with regular HTML pages like you mentioned.  Did you ever find a resolution?


BKBK
Community Expert
Community Expert
July 4, 2012

Now, on to something else. Since the problem occurs when your users "click links or click the submit button" it could be an encoding issue. Does it help when you place the following two lines at the beginning of onRequestStart (in Application.cfc)?

<cfscript>

      setEncoding("url", "UTF-8");

     setEncoding("form", "UTF-8");

</cfscript>

balumohanAuthor
Inspiring
July 4, 2012

I kept one page which is taking one record of data from db and I just dumped it to the same page. This page refreshes by itself in every 3 minutes for me to check the issue. But here also I got the issue. And also I kept one html file also. There also the issue occured.

BKBK
Community Expert
Community Expert
July 4, 2012

If the cause is an encoding issue on the web server, then it might affect CFM pages as well.

Inspiring
May 26, 2012

"This webpage cannot be displayed" is just a generic user-friendly error page IE displays when it receives a 500 response from the web server.

There's a setting to switch it off and show the actual error, which'll help you diagnose where you code is going wrong.

--

Adam

balumohanAuthor
Inspiring
May 26, 2012

Adam,

Thanks for the reply. I tried it. But it was not showing any error by that. And this 500 response is not coming always. And if it comes, the next second when we refresh the page, it will load without an error. So is it showing that the application is not having any error?

Inspiring
May 28, 2012

Stick an onError() handler in your Application.cfc and log whatever the error detail is, then rethrow the error.

--

Adam