473,586 Members | 2,817 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2523
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*******@news group.nospamwro te in message
news:OX******** ******@TK2MSFTN GP03.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
5025
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 that calls the web service to render a vertical strip of images. After doing some research I am unable to find some vb.net code that can assist...
10
1970
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 based on users selection(body, sleeve etc). Until here no problem. Coz we have only 2 types of bodies and 3 types of sleeves and 3 types of necks. I...
9
3822
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 site for a small club I belong to and one of the features I would like to include is the ability to allow users to upload image files. ...
5
13336
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 http://mghospedagem.com/images/controlpanel.jpg instead of http://mghospedagem.comhttp://mghospedagem.com/images/controlpanel.jpg As u see, there's the...
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8338
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...
0
8215
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...
0
6610
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...
0
5390
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...
0
3836
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.