<DIV>Hi Jacob,</DIV>  <DIV>&nbsp;</DIV>  <DIV>finely I found a solution for my broken image problem. I just wrote to&nbsp;httpd.config of my ms4w server: keepalive off</DIV>  <DIV>And the broken image problem for JPEG Files&nbsp;is gone. No idea why. But it works now! :)</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thank you&nbsp;for your help :)))</DIV>  <DIV><BR><BR><B><I>"Delfos, Jacob" &lt;jacob.delfos@maunsell.com&gt;</I></B> schrieb:</DIV>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Ded,<BR><BR>I know that not all machines running IE have it. Most computers I ran<BR>into did, and the registry entries fixed it for each. Although in your<BR>instance (a single image), it would not be logical if the problem was<BR>related to too many requests. Not sure what it could be.....<BR>Unfortunately I have not been able to get Microsoft feedback. They're<BR>hard to reach, and tend to forward you to a third party forum, full of<BR>people telling
 you that the problem is my own fault because I must have<BR>installed bad software...<BR><BR>I'm not sure what you could do, except using an 'onError' patch, to<BR>reload when the image fails. In MapDHTML.js, line 557, I have:<BR><BR><BR>content = "<IMG id='\"MapLayerDivImg\"<br'>onError=\"imageErrorOccurred(gMapDHTMLURL)\" name=\"MapLayerDivImg\"<BR>src=\""+gAPixel+"\" width=\""+gMapWiWidth+"\"<BR>height=\""+gMapWiHeight+"\" border=\"0\"<BR>onload=\"MapWHideActivityLayer();\"<BR>onmouseover=\"MapWCaptureMouse(arguments[0]);\"<BR>onmouseout=\"MapWReleaseMouse(arguments[0]);\"&gt;";<BR><BR><BR>Then at the end of MapDHTML.js, I put:<BR><BR><BR>//------------------------------------------------------------<BR>var backupURL = "";<BR>function imageErrorOccurred (mapurl)<BR>{<BR>//alert (mapurl);<BR>document.images["MapLayerDivImg"].src =<BR>document.images["mapimage"].src;<BR>backupURL = mapurl;<BR>setTimeout("reloadImage()",500);<BR>}<BR><BR>function
 reloadImage()<BR>{<BR>document.images['MapLayerDivImg'].src = backupURL;<BR>}<BR>//-----------------------------------------------------------<BR><BR><BR>This does not prevent it from occuring, but as soon as the image fails,<BR>it reloads it. Typically the user won't realise anything went wrong.<BR><BR>Regards,<BR><BR>Jacob<BR><BR><BR><BR><BR>&gt; -----Original Message-----<BR>&gt; From: Ded Moroz [mailto:hacker_ivanovich@yahoo.de] <BR>&gt; Sent: 17 January 2006 15:59<BR>&gt; To: Delfos, Jacob; Chameleon@lists.maptools.org<BR>&gt; Subject: RE: [Chameleon] Broken image instead of a map in IE <BR>&gt; <BR>&gt; Dear Jacob,<BR>&gt; <BR>&gt; thank you for the fast answer. I've looked in the<BR>&gt; registry on the client machine, but there were no<BR>&gt; values like MaxConnectionsPer1_0Server or<BR>&gt; MaxConnectionsPerServer, so I've made them as new<BR>&gt; values and added to the registry. Unfortunately the<BR>&gt; broken link problem is still there. So I have really<BR>&gt; no
 idea what I should do now. :-(<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; --- Jacob Delfos <JACOB.DELFOS@MAUNSELL.COM>schrieb:<BR>&gt; <BR>&gt; &gt; <BR>&gt; &gt; Ded,Paul,<BR>&gt; &gt; <BR>&gt; &gt; I think this is related to the problem I described<BR>&gt; &gt; on the Ka-Map list, <BR>&gt; &gt; although I can't understand why a single image would<BR>&gt; &gt; fail due to too <BR>&gt; &gt; large a value for "maximum allowable simultaneous<BR>&gt; &gt; connections".<BR>&gt; &gt; The bug for this problem is:<BR>&gt; &gt; http://bugzilla.maptools.org/show_bug.cgi?id=654<BR>&gt; &gt; <BR>&gt; &gt; If this is the same problem, then it is caused by<BR>&gt; &gt; Internet Explorer <BR>&gt; &gt; having a value of 10,000 for the maximum allowable<BR>&gt; &gt; simultaneous <BR>&gt; &gt; connections. This is of course a ridiculous and<BR>&gt; &gt; impractical value. It <BR>&gt; &gt; would basically mean that IE sends a request for<BR>&gt; &gt; every possible object <BR>&gt; &gt; in the page at the
 same time. This can cause the<BR>&gt; &gt; webserver (be it Apache <BR>&gt; &gt; or IIS) to fail to satisfy all those requests,<BR>&gt; &gt; resulting in broken <BR>&gt; &gt; images (not just the map-image).<BR>&gt; &gt; <BR>&gt; &gt; According to<BR>&gt; &gt; http://support.microsoft.com/?kbid=282402 the value <BR>&gt; &gt; shouldn't be this high, but yet it seems default on<BR>&gt; &gt; most up-to-date <BR>&gt; &gt; Windows installations I have seen (XP and 2k). To<BR>&gt; &gt; try to fix it, you <BR>&gt; &gt; have to edit the registry on the client (machine<BR>&gt; &gt; running IE) :<BR>&gt; &gt; <BR>&gt; &gt; In:<BR>&gt; &gt;<BR>&gt; HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet<BR>&gt; &gt; <BR>&gt; &gt; Settings<BR>&gt; &gt; Change value of MaxConnectionsPer1_0Server and<BR>&gt; &gt; MaxConnectionsPerServer <BR>&gt; &gt; to something more decent (I used 4; Firefox uses<BR>&gt; &gt; 24).<BR>&gt; &gt; <BR>&gt; &gt; I'm waiting to hear back from Microsoft
 on this. I<BR>&gt; &gt; hope they can fix <BR>&gt; &gt; this in a patch, so we don't have to put a note on<BR>&gt; &gt; all websites asking <BR>&gt; &gt; visitors to hack their registry. I'm tired of having<BR>&gt; &gt; to tell clients <BR>&gt; &gt; during demonstrations "This really doesn't normally<BR>&gt; &gt; happen, you know.... <BR>&gt; &gt; it's not our fault!"<BR>&gt; &gt; <BR>&gt; &gt; Please let us know whether this fixed it for you.<BR>&gt; &gt; I'll update the bug <BR>&gt; &gt; once I know more from Microsoft.<BR>&gt; &gt; <BR>&gt; &gt; regards,<BR>&gt; &gt; <BR>&gt; &gt; Jacob<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; &gt;This sounds like a problem Jacob and Bart have run<BR>&gt; &gt; into. From what<BR>&gt; &gt; &gt;Jacob described recently, it may have been a<BR>&gt; &gt; problem in IIS<BR>&gt; &gt; &gt;configuration ... looking for comments from Jacob<BR>&gt; &gt; :)<BR>&gt; &gt; <BR>&gt; &gt; &gt;Cheers<BR>&gt; &gt; <BR>&gt; &gt; &gt;Paul<BR>&gt; &gt;
 <BR>&gt; &gt; &gt;On 6-Jan-06, at 2:54 PM, Ded Moroz wrote:<BR>&gt; &gt; <BR>&gt; &gt; &gt;&gt; Hi dear community.<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; I've the following strange problem on my<BR>&gt; &gt; chameleon installation.<BR>&gt; &gt; &gt;&gt; When I just send a simple request directly at a<BR>&gt; &gt; drawmap.php like:<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; http://server/chameleon/common/wrapper/drawmap.php?<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; map_session_mode=1&amp;run_query=0&amp;sid=43be7fee135b7&amp;dummy=0.17998100<BR>&gt; &gt; &gt;&gt; +1136558079&amp;UniqId=1136558467418989<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; I just can see a normal map as a response. But<BR>&gt; &gt; sometimes I just get<BR>&gt; &gt; &gt;&gt; a broken image instead of a normal picture of my<BR>&gt; &gt; map. The strange<BR>&gt; &gt; &gt;&gt; thing is when I just made a request like already<BR>&gt; &gt; showed and I push<BR>&gt; &gt; &gt;&gt; the F5 it reloads the map but sometime
 it shows<BR>&gt; &gt; me the broken image<BR>&gt; &gt; &gt;&gt; as a response! . This error happens only when I<BR>&gt; &gt; use the IE 6.0. On<BR>&gt; &gt; &gt;&gt; Firefox or Opera every reload of the drawmap.php<BR>&gt; &gt; is successful and<BR>&gt; &gt; &gt;&gt; this error also takes place only when I request<BR>&gt; &gt; huge JPEG images<BR>&gt; &gt; &gt;&gt; (1000 x 600 Px). The error.log on my Apache<BR>&gt; &gt; server doesn't<BR>&gt; &gt; &gt;&gt; subscribe any errors and when I try to simulate<BR>&gt; &gt; the same error<BR>&gt; &gt; &gt;&gt; directly on the server<BR>&gt; &gt; (http://localhost/chameleon/common/wrapper/<BR>&gt; &gt; &gt;&gt; drawmap.php?...) it just doesn't happen. So I<BR>&gt; &gt; suspect that the<BR>&gt; &gt; &gt;&gt; error is maybe in the properties of the client<BR>&gt; &gt; or in the properties<BR>&gt; &gt; &gt;&gt; of my network.<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; Thanks.<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; P.S.: Sorry for my
 terrible English :-(<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; &gt;&gt; Telefonieren Sie ohne weitere Kosten mit Ihren<BR>&gt; &gt; Freunden von PC zu PC!<BR>&gt; &gt; &gt;&gt; Jetzt Yahoo! Messenger installieren!<BR>&gt; &gt; &gt;&gt; _______________________________________________<BR>&gt; &gt; &gt;&gt; Chameleon mailing list<BR>&gt; &gt; &gt;&gt; Chameleon at lists.maptools.org<BR>&gt; &gt; &gt;&gt;<BR>&gt; &gt; http://lists.maptools.org/mailman/listinfo/chameleon<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt; &gt;+-----------------------------------------------------------------+<BR>&gt; &gt; &gt;|Paul Spencer pspencer at dmsolutions.ca |<BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt; &gt;+-----------------------------------------------------------------+<BR>&gt; &gt; &gt;|Applications &amp; Software Development |<BR>&gt; &gt; &gt;|DM Solutions Group Inc<BR>&gt; &gt; http://www.dmsolutions.ca/|<BR>&gt; &gt; <BR>&gt; &gt;<BR>&gt;
 &gt;+-----------------------------------------------------------------+<BR>&gt; &gt; <BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Chameleon mailing list<BR>&gt; &gt; Chameleon@lists.maptools.org<BR>&gt; &gt; http://lists.maptools.org/mailman/listinfo/chameleon<BR>&gt; &gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; ___________________________________________________________ <BR>&gt; Telefonate ohne weitere Kosten vom PC zum PC: <BR>&gt; http://messenger.yahoo.de<BR>&gt; <BR><BR>_______________________________________________<BR>Chameleon mailing list<BR>Chameleon@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/chameleon<BR></BLOCKQUOTE>  <DIV><BR></DIV><p>
                <hr size=1>Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!<br>Jetzt <a href=http://de.messenger.yahoo.com>Yahoo! Messenger</a> installieren!