473,461 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why do I sometimes get empty aspx responses?

Hi NG,

In a very large ASP.NET application i use popups for displaying diffrent
kinds of dialogs.

But sometimes when a Popup is opened it's like the aspx page is never
executed and the popup is "empty". Containing only the following HTML (maybe
it's IE that generates this because the page is empty, I can't tell):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

Has anyone experienced something like this?
Is this maybe a bug in IE?

I might add that I open the popup using the window.open() function without
giving the dialogs an ID, since opening a window with an ID is needlessly
slow.

Thanks for your time,
Ricky
Nov 18 '05 #1
8 3195
No error server side ?

Patrice

"Ricky K. Rasmussen" <mo****@mvponline.dk> a écrit dans le message de
news:OM**************@tk2msftngp13.phx.gbl...
Hi NG,

In a very large ASP.NET application i use popups for displaying diffrent
kinds of dialogs.

But sometimes when a Popup is opened it's like the aspx page is never
executed and the popup is "empty". Containing only the following HTML (maybe it's IE that generates this because the page is empty, I can't tell):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

Has anyone experienced something like this?
Is this maybe a bug in IE?

I might add that I open the popup using the window.open() function without
giving the dialogs an ID, since opening a window with an ID is needlessly
slow.

Thanks for your time,
Ricky

Nov 18 '05 #2
No error what so ever... Only an empty page.
So far we've learned to live with it, but it's becomming a big issue for us.

And even more strange: When we get "The empty Page" it's not enough to
refresh the empty dialog.
We have to refresh the page that opens up the dialog and the try to open it
again.

Could it be because of server load?

/ricky

"Patrice" <no****@nowhere.com> wrote in message
news:#g**************@TK2MSFTNGP11.phx.gbl...
No error server side ?

Patrice

Nov 18 '05 #3
What entry do you have in the IIS log for these pages ? Especially the http
status code is ok ? For now i can only think of some problem that would be
caught but not handled server side resulting in a missing body ??? Does it
look like you have only the HTML code but not server side controls ? I would
add for example some static HTML code after the body but before the form tag
to make sure it is my static html code that shows up.

If yes, it's likely a server side problem when server side controls are
processed (session expired ?)...

Good luck.

Patrice

"Ricky K. Rasmussen" <mo****@mvponline.dk> a écrit dans le message de
news:eM**************@TK2MSFTNGP12.phx.gbl...
No error what so ever... Only an empty page.
So far we've learned to live with it, but it's becomming a big issue for us.
And even more strange: When we get "The empty Page" it's not enough to
refresh the empty dialog.
We have to refresh the page that opens up the dialog and the try to open it again.

Could it be because of server load?

/ricky

"Patrice" <no****@nowhere.com> wrote in message
news:#g**************@TK2MSFTNGP11.phx.gbl...
No error server side ?

Patrice


Nov 18 '05 #4
Hi Ricky,

I think the "SmartNavigation" is a reasonable suggestions. In ASP.NET there
is a known issue for pages which has enabled smartNavigation. When the page
is enabled smartNavigation, when we make a client redirect on the page,
open another page via a hyperlink or use Response. Redirect to redirect to
a page. It'll return a blank page. So would you please have a check to see
whether those pages suffering the problem has turned on the
smartNavigation? Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5
Thanks for all the replies.

In my case the SmartNavigation is not used on any of my pages. I mean the
"aspnet_client" directory exists in my webroot, but none of my pages have
the SmartNavigation property set.

I might add that I only get the "empty response" 1 out of 50 times, the rest
of the time the page is fine.

Further more the "empty response" looks nothing like the actual page, but is
always like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

I'll try to catch a trace of one of these reponses, but since they appear
very randomly (but often in periods of time) it may take some time.

Any ideas to how this happens?

/ricky
Nov 18 '05 #6
Hi Patrice,

I caught a trace of one of these responses a while back. I cant remember in
depth what it said, but I'm pretty sure it returned a status code 200 even
though it didn't look as if any code has been run (maybe that was because
the application ran on Release assemblies).

I dont think the "empty response" is the result of a caught but unhandled
server exception, since it has happened on almost all of my pages and the
response is the same regardless of the aspx page.
Further more the "empty response" only happens in periods of time, the rest
of the time the pages looks fine.

Anyway, I'll try to check some of our web controls for any bad exception
handling.

Thanks for your time,
Ricky


"Patrice" <no****@nowhere.com> wrote in message
news:Oe**************@tk2msftngp13.phx.gbl...
What entry do you have in the IIS log for these pages ? Especially the http status code is ok ? For now i can only think of some problem that would be
caught but not handled server side resulting in a missing body ??? Does it
look like you have only the HTML code but not server side controls ? I would add for example some static HTML code after the body but before the form tag to make sure it is my static html code that shows up.

If yes, it's likely a server side problem when server side controls are
processed (session expired ?)...

Good luck.

Patrice

"Ricky K. Rasmussen" <mo****@mvponline.dk> a écrit dans le message de
news:eM**************@TK2MSFTNGP12.phx.gbl...
No error what so ever... Only an empty page.
So far we've learned to live with it, but it's becomming a big issue for

us.

And even more strange: When we get "The empty Page" it's not enough to
refresh the empty dialog.
We have to refresh the page that opens up the dialog and the try to open

it
again.

Could it be because of server load?

/ricky

"Patrice" <no****@nowhere.com> wrote in message
news:#g**************@TK2MSFTNGP11.phx.gbl...
No error server side ?

Patrice



Nov 18 '05 #7
Hi Ricky,

I also suspect that the problem is due to he client's connection to the
serverside. Does this problem occurs on multi client mahcines or just on a
certain client? If occur on differernt clients, there must be something
wrong in the server.
Also, I think you can try refreshing the page as a normal page or in a
frame serveral times to see whether the problem also occur.

In addition, I think you can also have a check in the IIS log to see
whether it can provide any clues on this issue. Thanks

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #8
Hi Ricky,

Have you got any further ideas on this issue? If you have anything unclear
or if there're anything else we can help, please feel free to post here.
Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #9

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

Similar topics

4
by: Ersin Gençtürk | last post by:
Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: The View State is invalid for this page and might be...
1
by: Ersin Gençtürk | last post by:
We couldn't find why these errors happen.They doesn't appear everytime.And they appear different pages at different times.Is there somebody know why these happenes ? First user gets this error :...
2
by: Jeffrey T. | last post by:
I had some JavaScript functions defined in the <SCRIPT> section at the top of an aspx page (tested fine there). I then moved the JavaScript functions to their own separate file and then...
6
by: Dot net work | last post by:
I've read quite a few threads on these groups about this. When someone says the following: "My Page_Load gets called twice on a button click postback" The replies are: "Do you have...
9
by: Eric Falsken | last post by:
I've added a number of additional properties to my profile. Sometimes, the values are populated when the user is retrieved from the database, but sometimes the values are empty/default. How can I...
2
by: ronchese | last post by:
I'm noticing this since I started developing a website project: my session variables are getting empty! I did a real easy test, and I checked my session variable is getting empty!! What is...
16
by: flip2flik | last post by:
Hi. I am using visual web developer express edition and I am using vb.net as the programming language. I want to create a new aspx file on a button click. I will have a template that the new...
3
by: Jag | last post by:
Hi I am facing a strange issue. I have 3 ASP pages in the default website 1. auth.aspx <html> <body>
3
by: dbuchanan | last post by:
How, at rundime, do I capture the fact that the parametrized query that fills a CheckBoxList results in an empty set. When the dataset is empty the CheckBoxList does not appear. I would like to...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.