473,770 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Images Missing when loading ASP page

Ed
I first noticed this in my own app. Images would show up missing [red X]
randomly on IE 6.0.2800.1106 on Windows 2000 server.

I then was able to repro this problem on Microsoft's website!!! The page I
used was
http://www.microsoft.com/windows/ie/...p1/default.asp
After pressing [F5] to refresh the page six times, I noticed missing images
on the page.

This problem seems to be very reproducible. I coded a sample ASP page which
references the same images 10 times on the same page. Loaded in IE. Upon
pressing [F5] several times, the images will be identified as missing [red
X]. Refresh the page again, it's fine.....etc.

I'm up-todate with all latest MS patches. Has anyone else seen this
problem?

Is this an ASP problem or is it an IE6 bug?
Jul 19 '05 #1
6 3337
I'd be willing to bet it's an IE issue, not an IIS issue. Try loading the
page in another browser, if you have another one installed. I think that of
all the times I've been to Microsoft's site, I've only seen the red X like
once or maybe twice.

Ray at home

"Ed" <ed*********@ho tmail.com> wrote in message
news:uo******** ********@tk2msf tngp13.phx.gbl. ..
I first noticed this in my own app. Images would show up missing [red X]
randomly on IE 6.0.2800.1106 on Windows 2000 server.

I then was able to repro this problem on Microsoft's website!!! The page I used was
http://www.microsoft.com/windows/ie/...p1/default.asp
After pressing [F5] to refresh the page six times, I noticed missing images on the page.

This problem seems to be very reproducible. I coded a sample ASP page which references the same images 10 times on the same page. Loaded in IE. Upon
pressing [F5] several times, the images will be identified as missing [red
X]. Refresh the page again, it's fine.....etc.

I'm up-todate with all latest MS patches. Has anyone else seen this
problem?

Is this an ASP problem or is it an IE6 bug?

Jul 19 '05 #2
i have seen that. All i could gather was that IIS was doing too many <%%>.

Try doing just one image and see what happens

"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message
news:uo******** ******@TK2MSFTN GP12.phx.gbl...
I'd be willing to bet it's an IE issue, not an IIS issue. Try loading the
page in another browser, if you have another one installed. I think that of all the times I've been to Microsoft's site, I've only seen the red X like
once or maybe twice.

Ray at home

"Ed" <ed*********@ho tmail.com> wrote in message
news:uo******** ********@tk2msf tngp13.phx.gbl. ..
I first noticed this in my own app. Images would show up missing [red X] randomly on IE 6.0.2800.1106 on Windows 2000 server.

I then was able to repro this problem on Microsoft's website!!! The page
I
used was

http://www.microsoft.com/windows/ie/...p1/default.asp After pressing [F5] to refresh the page six times, I noticed missing

images
on the page.

This problem seems to be very reproducible. I coded a sample ASP page

which
references the same images 10 times on the same page. Loaded in IE. Upon pressing [F5] several times, the images will be identified as missing [red X]. Refresh the page again, it's fine.....etc.

I'm up-todate with all latest MS patches. Has anyone else seen this
problem?

Is this an ASP problem or is it an IE6 bug?


Jul 19 '05 #3
Ed
UPDATE!

I found out that if the ASP page contains <SCRIPT>, images that are
references multiple times on the same page would become red X upon pressing
[F5] (refresh) for several times. If I were to remove the <SCRIPT> from the
ASP, the red X problem went away.

Looks like a caching bug in IE 6...

(I'm cross-posting this to the IE6 group and see what the experts think.)
"Jeff Clark" <JeffC@NO_SPAMr eturnventures.c om> wrote in message
news:Oq******** ********@TK2MSF TNGP09.phx.gbl. ..
i have seen that. All i could gather was that IIS was doing too many <%%>.
Try doing just one image and see what happens

"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message
news:uo******** ******@TK2MSFTN GP12.phx.gbl...
I'd be willing to bet it's an IE issue, not an IIS issue. Try loading the
page in another browser, if you have another one installed. I think that
of
all the times I've been to Microsoft's site, I've only seen the red X

like once or maybe twice.

Ray at home

"Ed" <ed*********@ho tmail.com> wrote in message
news:uo******** ********@tk2msf tngp13.phx.gbl. ..
I first noticed this in my own app. Images would show up missing [red

X] randomly on IE 6.0.2800.1106 on Windows 2000 server.

I then was able to repro this problem on Microsoft's website!!! The page
I
used was

http://www.microsoft.com/windows/ie/...p1/default.asp After pressing [F5] to refresh the page six times, I noticed missing

images
on the page.

This problem seems to be very reproducible. I coded a sample ASP page

which
references the same images 10 times on the same page. Loaded in IE. Upon pressing [F5] several times, the images will be identified as missing [red X]. Refresh the page again, it's fine.....etc.

I'm up-todate with all latest MS patches. Has anyone else seen this
problem?

Is this an ASP problem or is it an IE6 bug?

Jul 19 '05 #4
The problem was you were mixing apples and oranges.

<SCRIPT> is for client side-script and runs in the browser, which is
not ASP.
ASP is server-side and runs on the server, and uses "<% %>" as
delimiters.

When you removed the <SCRIPT> tags it worked like it should, before
that it wouldn't have.
--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com

"Ed" <ed*********@ho tmail.com> wrote in message
news:eO******** ******@TK2MSFTN GP11.phx.gbl...
UPDATE!

I found out that if the ASP page contains <SCRIPT>, images that are
references multiple times on the same page would become red X upon pressing [F5] (refresh) for several times. If I were to remove the <SCRIPT> from the ASP, the red X problem went away.

Looks like a caching bug in IE 6...

(I'm cross-posting this to the IE6 group and see what the experts think.)

"Jeff Clark" <JeffC@NO_SPAMr eturnventures.c om> wrote in message
news:Oq******** ********@TK2MSF TNGP09.phx.gbl. ..
i have seen that. All i could gather was that IIS was doing too many
<%%>.

Try doing just one image and see what happens

"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message news:uo******** ******@TK2MSFTN GP12.phx.gbl...
I'd be willing to bet it's an IE issue, not an IIS issue. Try loading
the page in another browser, if you have another one installed. I
think
that
of
all the times I've been to Microsoft's site, I've only seen the
red X
like once or maybe twice.

Ray at home

"Ed" <ed*********@ho tmail.com> wrote in message
news:uo******** ********@tk2msf tngp13.phx.gbl. ..
> I first noticed this in my own app. Images would show up

missing [red X]
> randomly on IE 6.0.2800.1106 on Windows 2000 server.
>
> I then was able to repro this problem on Microsoft's
website!!! The page
I
> used was
>

http://www.microsoft.com/windows/ie/...ie6sp1/default.
asp > After pressing [F5] to refresh the page six times, I noticed missing images
> on the page.
>
> This problem seems to be very reproducible. I coded a sample ASP page which
> references the same images 10 times on the same page. Loaded in IE. Upon
> pressing [F5] several times, the images will be identified as
missing [red
> X]. Refresh the page again, it's fine.....etc.
>
> I'm up-todate with all latest MS patches. Has anyone else

seen this > problem?
>
> Is this an ASP problem or is it an IE6 bug?


Jul 19 '05 #5
What is this?

SCRIPT language="vbscr ipt" runat="server">
Function f1()
f1 = "This is ASP"
End Function
</SCRIPT>
<SCRIPT language="javas cript" runat="server">
function f2(){
return "This is ASP"
}
</SCRIPT>
<SCRIPT language="vbscr ipt" runat="server">
With Response
.Write f1()
.Write "<BR/>"
.Write f2()
End With
</SCRIPT>

-dlbjr

Discerning resolutions for the alms
Jul 19 '05 #6
"dlbjr" <do******@do. u> wrote in message
news:pAQwb.208$ Qy4.15360@typho on01...
SCRIPT language="vbscr ipt" runat="server">


Obviously that runs server-side when you add the "runat=" parameter,
but he never indicated he used it that way and I'm not going to assmue
he did that unless he says so. If he actually "showed the code" as we
always ask people to do, then we would already have known what way he
did it.

--

Phillip Windell [CCNA, MVP, MCP]
WAND-TV (ABC Affiliate)
www.wandtv.com

Jul 19 '05 #7

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

Similar topics

18
6360
by: Roger Shrubber | last post by:
Hello all I have created a page which has several pictures on it. Each picture is surrounded by a frame made from actual photos of real picture frames, consisting of four corner tiles and four repeating side tiles. I would like the on-screen display to use low-res versions (96 dpi) of the images, to ensure fast loading. But I would like the printed version to use high-res versions (300 dpi or more). The printed page should be...
4
332
by: Anavim | last post by:
Hi, I have a really wired behavior in my asp.net application. Little background, I have a base pages which contains about 17 images lying around (create a circle) and this page contains a control where I'm presenting my pages content.
10
1881
by: cosmic foo | last post by:
I have a page with about 100 images of about 10k each. where a typical img tag looks like this, <img src="item001.jpg" height="70" alt="" onMouseOver="showPic(this)" border="0"> Not all the images need to be viewed at once, depending on what category is selected, only about 10 images are seen at any one time. I hide and show categories of images by setting a div container display:none/block or visibility:hidden/visible. Even though the...
10
3370
by: windandwaves | last post by:
Hi I have the following html: <div id="menu"> <div id="m1"><a href="m1.php"><img src="m1.gif" alt="m1"></a></div> <div id="m2"><a href="m2.php"><img src="m2.gif" alt="m2"></a></div> <div id="m3"><a href="m3.php"><img src="m3.gif" alt="m3"></a></div> <div id="m4"><a href="m4.php"><img src="m4.gif" alt="m4"></a></div> <div id="m5"><a href="m5.php"><img src="m5.gif" alt="m5"></a></div>
4
1621
by: VR | last post by:
Hi, I am trying to have a menu item (which is an HTML img) to change as a mouse moves over it. So, my code looks something like this: <a onmouseover="ActivateImage('MyImage');" onmouseout="InactivateImage('MyImage');" href="javascript:void(FollowLink('MyImage'));">
3
3829
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a nutshell when testing my ASP.NET (localhost) apps images randomly don't load on the page. Examining the IIS logfile shows the missing images give 401 or 403 errors. Here's an example - 10:15:47 127.0.0.1 GET...
3
1253
by: Anavim | last post by:
Hi, I have a really wired behaviour in my asp.net application. Little background, I have a base pages which contains about 17 images laying around (create a circle) and this page contains a control where I'm presenting my pages content.
6
2566
by: Ivan Bútora | last post by:
I have recently looked at http://alistapart.com/articles/imagegallery to implement a simple picture gallery on a webpage that I'm working on. Everything works fine; however, I have one question. When I click on a thumbnail, a JavaScript function is executed to change the picture in the main view. Since some of these images are around 300KB, it takes up to a couple of seconds to load the image. In Internet Explorer, one can see the image...
5
13379
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 website URL before the image URL.
0
9617
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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
10257
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9904
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
8931
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
6710
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
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
3609
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.