472,780 Members | 2,259 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 software developers and data experts.

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_Start 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_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
Nov 18 '06 #1
5 2740
"David Thielen" <th*****@nospam.nospamwrote in message
news:D3**********************************@microsof t.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_Start 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_Start 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_Start 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_Start 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_windward_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**********************************@microsof t.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_Start 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_Start 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_Start 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_Start 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_Start 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_windward_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_Start 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
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"...
14
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
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. ...
1
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...
1
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...
2
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...
6
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
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.