473,669 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sometimes I get "The page cannot be displayed" - totally random

Hi;

We have our app up on a beta server. Sometimes people from outside the
firewall get "The page cannot be displayed" when they try to access it. A
couple of weird things about this:

1) If someone inside the firewall accesses it, that always works.

2) If someone inside the firewall accesses it, then the person outside can
access it. It's as though an inside connection is needed to wake it up.

3) My logging shows Global.asax Application_Sta rt getting called about once
an hour for the last 3 hours. So it looks as though the entire application is
getting stopped and then restarted.

Any ideas?

--
thanks - dave
david_at_windwa rd_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Nov 18 '06 #1
5 2798
"David Thielen" <th*****@nospam .nospamwrote in message
news:D3******** *************** ***********@mic rosoft.com...
We have our app up on a beta server. Sometimes people from outside the
firewall get "The page cannot be displayed" when they try to access it. A
couple of weird things about this:

1) If someone inside the firewall accesses it, that always works.

2) If someone inside the firewall accesses it, then the person outside can
access it. It's as though an inside connection is needed to wake it up.

3) My logging shows Global.asax Application_Sta rt getting called about
once
an hour for the last 3 hours. So it looks as though the entire application
is
getting stopped and then restarted.

Any ideas?
Application_Sta rt will fire when a Session starts and no other Sessions are
current, same as Application_End will fire when the very last Session is
torn down.

Could it be that there is something in Application_Sta rt which would cause
an error if the Session which caused it to fire was from a user outside the
firewall, but works perfectly from inside the firewall...?

Do you not have any exception handling in your Application_Sta rt method
which would indicate what the problem is...?
Nov 18 '06 #2
Yes I log exceptions in the Application and Session handlers - no exceptions.
In fact I log everything (I believe) and nothing. It's as if it is never
getting to my code.

And outside works sometimes, just not all the time.

--
thanks - dave
david_at_windwa rd_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm


"Mark Rae" wrote:
"David Thielen" <th*****@nospam .nospamwrote in message
news:D3******** *************** ***********@mic rosoft.com...
We have our app up on a beta server. Sometimes people from outside the
firewall get "The page cannot be displayed" when they try to access it. A
couple of weird things about this:

1) If someone inside the firewall accesses it, that always works.

2) If someone inside the firewall accesses it, then the person outside can
access it. It's as though an inside connection is needed to wake it up.

3) My logging shows Global.asax Application_Sta rt getting called about
once
an hour for the last 3 hours. So it looks as though the entire application
is
getting stopped and then restarted.

Any ideas?

Application_Sta rt will fire when a Session starts and no other Sessions are
current, same as Application_End will fire when the very last Session is
torn down.

Could it be that there is something in Application_Sta rt which would cause
an error if the Session which caused it to fire was from a user outside the
firewall, but works perfectly from inside the firewall...?

Do you not have any exception handling in your Application_Sta rt method
which would indicate what the problem is...?
Nov 18 '06 #3
Hello Dave,

Do you mean the application some times will not be able to started up by
some requests coming from external web, but can be visited by internal
users, correct?

When the external user fails to access the web application, if the error
message is only "page can not be displayed" you can check the IIS log to
see whether the request entry did arrive IIS, and at that time did the
ASP.NET application started correctly(as you can do some logging in
application_Sta rt event). In addition, is there any security specific
control or protection in your web application that will affect external web
users?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 20 '06 #4
Hi;

We got it again. The IIS logs show no requests and our ASP.NET app log shows
no requests. A person from outside could not get to the site.

I hit the site from inside and now they can get to it fine. The only thing
seems to be if the ASP.NET app is running because it was requested from our
internal network.

But the weirdest part is that there is nothing even in the IIS logs. Its as
though the request is never even getting to IIS.

--
thanks - dave
david_at_windwa rd_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm


"Steven Cheng[MSFT]" wrote:
Hello Dave,

Do you mean the application some times will not be able to started up by
some requests coming from external web, but can be visited by internal
users, correct?

When the external user fails to access the web application, if the error
message is only "page can not be displayed" you can check the IIS log to
see whether the request entry did arrive IIS, and at that time did the
ASP.NET application started correctly(as you can do some logging in
application_Sta rt event). In addition, is there any security specific
control or protection in your web application that will affect external web
users?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 27 '06 #5
Hello Dave,

Thanks for your followup.

Well, your further finding is what I have considered at the begining. It
seems the external client's request did not event reach the webserver,
there could be some network issue for external access on that webserver. Is
there any potential proxy issue between external clients and your ASP.NET
application's server?
Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 27 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
4531
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm" ACTION="UploadAction.asp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ... </FORM>
14
1781
by: VMI | last post by:
Everytime I open my machine's MSDN and look for a subject, when I double-click on anything, I get "The page cannot be displayed" . What's wrong?
1
6878
by: JohnZing | last post by:
i tried to install asp.net forums all went ok, but after login i always get "Object moved to here." in firefox or "The page cannot be displayed" in IE when i hit refresh, the page loads fine. the problem occurs only when i try to run the application hosted in my hosting provider, not in my local IIS server. any ideas?
1
2234
by: emon.haider | last post by:
Hi guys, I just made a web application using ASP.Net and C#. The application compiles and works fine from my workstation, but after I uploaded it to my webserver, I am getting an error of "the page cannot be displayed" in IE and "the document contains no data" in FireFox. The error I get is when I try to access page, which is www.mywebsite.com/addtocart.aspx?ProductID=xx. I know for a fact that addtocart.aspx exists but I am still...
1
2789
by: Feng | last post by:
Hi, Need help on the following issue. We need to clean up some session specific backend resource when a user ends his session. We have a "Logoff" button on the pages that handles that. But the problem is that sometimes the user still closing their browser window by clicking on the "x" button of the window. This is quite a problem for us because it will leave unreleased resource on the server for an unpredictable period of time,...
2
2260
by: MicroMinds | last post by:
Hi, I have installed jdk 6 and tomcat 4.1.29 in my local machine. Just want to run some sample web application. When tried to check if tomcat works fine using http://localhost:8080, I'm getting "Page cannot be displayed error". I suspect i have not even configured tomcat properly. Could anybody pls help me.. Thanks in advance
6
3120
by: TC | last post by:
Hey All, I'm receiving a weird error in IE now: "The XML page cannot be displayed" This is even with the simplest of pages that I previously could view. Any ideas?
4
3516
by: Peter | last post by:
I have the following code which works fine in IE6 and IE7 and FireFox, but when I run IE6 on Citrix I get "The page cannot be displayed" in the iframe. We don't have IE7 on Citrix so I can't try it. <span id="ShowReport" disabled="disabled" style="display:inline-block;height:1200px;width:880px;"> <div> <iframe src=../../WsiLogo.gif<frame src=../../WsiLogo.gif> <embed src=../../WsiLogo.gif</iframe> </div>
0
8384
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8810
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8590
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8659
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7410
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5683
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4387
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2798
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2035
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.