473,383 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Images display intermittently in ASP 3.0 page

I have an ASP 3.0 website on which the images are displaying intermittently.

In other words, when I request a page, the image is blank. There is no
missing image place marker (rectangle with a red X).

The location where the image should be is just empty.

The code is there to display the image as can be seen when you view source
in the browser

And if you later return to the page, or sometimes if you simply refresh it,
the image will render properly.

What could be causing this erratic behavior?

I'm not sure whether this is an ASP issue, an HTML issue, a browser issue
(the error occures in IE 6.0) or possibly a network issue.

Any thoughts are appreciated.

Thanks
Dave
Sep 6 '07 #1
3 2516
Here is some follow up information to my original post.

This evening I tried to access the web page from home. In 60 tries I was
unable to reproduce the error (i.e., all images were always displayed
properly).

At the office where I encountered the error I am using IE 6.0. At home
where I am not encountering the error I am using IE 7.0 (i.e., Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR
2.0.50727; InfoPath.1))

I did an analysis of the site statistics and found 4 user sessions today
where the user was referred to the site, made multiple requests for the same
question in rapid succession and then left.

This behavior is consistent with the problem I am seeing; that some images
are not being displayed on the page so the user tries to refresh the page
several times and when he is unsucessful, gives up and leaves,

If anyone has time, they can try to reproduce the error by going to
http://www.frickcpa.com/tvom/TVOM_Answer.asp?qno=10

At the office I can always produce an errror within abount 2 dozen tries.

I load the page and then click the HP-12C link near the bottom. I should
see two graphics for Question 10, each with an image of the HP-12C
calculator at the top, followed by images of a set of key strokes.

Sometimes I see both images, sometimes I see one, sometimes I see a partial
image and sometimes I see only the text with no images at all.

I never see a missing image icon (rectangle with a red x), just a gap where
the image should be. As I said previously, if I go into the brower's view
source, I see all of the HTML code to render the image; it's just not being
displayed. If I keep refreshing the page, the image eventually displays.

This problem has me perplexed because I have not encountered it on other
sites. In other words, I can't ever remember going to a site where there
were big blank gaps where the images should have rendered, I've seen
missing image placeholders before but not just empty spaces.

Any thoughts are appreciated.

Sep 6 '07 #2
Dave wrote on Wed, 5 Sep 2007 21:43:50 -0700:
If anyone has time, they can try to reproduce the error by going to http://www.frickcpa.com/tvom/TVOM_Answer.asp?qno=10
The images appear to be just references to GIF files. If these are just
pulling the GIFs direct from IIS, and they're not being generated via ASP
(eg you have isapi_rewrite running and the GIFs are actually generated on
the fly by ASP code), then you'd be better off posting in an IIS group as it
won't be an ASP issue.

Check the logs to see if there is something odd going on with the requests
for the images (ideally with a request from you when it goes wrong so you
know that it's actually failed). Do you have any sort of proxy/caching
server in front of your IIS server that might be serving empty images?

Also, when you get blank images, go to your Temporary Internet Files folder
in IE and try to find the cached image files, copy them somewhere else (so
they don't get removed), and then take a look at them using a graphics
editor/hex editor to see if maybe there's some sort of corruption going on.

One other thing to check - does your IIS have HTTP Compression enabled?
Maybe that's corrupting the images so they're actually being delivered to
the browser, but due to being corrupt it's unable to actually display it
correctly and just shows a blank area.

Dan
Sep 6 '07 #3
"Dave" <da*******@newsgroup.nospamwrote in message
news:OX**************@TK2MSFTNGP03.phx.gbl...
Here is some follow up information to my original post.

This evening I tried to access the web page from home. In 60 tries I was
unable to reproduce the error (i.e., all images were always displayed
properly).

At the office where I encountered the error I am using IE 6.0. At home
where I am not encountering the error I am using IE 7.0 (i.e., Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR
2.0.50727; InfoPath.1))

I did an analysis of the site statistics and found 4 user sessions today
where the user was referred to the site, made multiple requests for the
same
question in rapid succession and then left.

This behavior is consistent with the problem I am seeing; that some images
are not being displayed on the page so the user tries to refresh the page
several times and when he is unsucessful, gives up and leaves,

If anyone has time, they can try to reproduce the error by going to
http://www.frickcpa.com/tvom/TVOM_Answer.asp?qno=10

At the office I can always produce an errror within abount 2 dozen tries.

I load the page and then click the HP-12C link near the bottom. I should
see two graphics for Question 10, each with an image of the HP-12C
calculator at the top, followed by images of a set of key strokes.

Sometimes I see both images, sometimes I see one, sometimes I see a
partial
image and sometimes I see only the text with no images at all.

I never see a missing image icon (rectangle with a red x), just a gap
where
the image should be. As I said previously, if I go into the brower's view
source, I see all of the HTML code to render the image; it's just not
being
displayed. If I keep refreshing the page, the image eventually displays.

This problem has me perplexed because I have not encountered it on other
sites. In other words, I can't ever remember going to a site where there
were big blank gaps where the images should have rendered, I've seen
missing image placeholders before but not just empty spaces.

Any thoughts are appreciated.
Works fine for me IE6 on 2000 and IE7 on XP.

Is the blank gap the right size for the image?

Sounds like a browser problem to me, its very doubtful that ASP or the
network is to blame.
--
Anthony Jones - MVP ASP/ASP.NET
Sep 6 '07 #4

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

Similar topics

5
by: Peter Lapic | last post by:
I have to create a image web service that when it receives an imageid parameter it will return a gif image from a file that has been stored on the server. The client will be an asp.net web page...
10
by: mrajanikrishna | last post by:
Hello friends, I have developed an application using ASP.NET and SQL Server. Ours is a garment factory. I need to design another module in my application. I want to generate images on fly...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.