Hi Daniel...<br>I got the binaries from Tamas build : <a href="http://vbkto.dyndns.org:1280/sdk/Default.aspx">http://vbkto.dyndns.org:1280/sdk/Default.aspx</a><br>And from MS4W 3.0 beta2...<br>Same result with both...<br><br>
That error you got is my fault... I <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial; white-space: pre;">took off</span></span> the :<br>
IMAGE &quot;..\Map.png&quot;<br>from REFERENCE definition when copy the code to email...<br><br>My application works fine with 5.2 binary in iis 5.1 and 6.0<br>Just replacing with 5.4 binary I got that 502 error...<br><br>
Paul<br><br><div class="gmail_quote">On Fri, May 29, 2009 at 12:20 PM, Daniel Morissette <span dir="ltr">&lt;<a href="mailto:dmorissette@mapgears.com">dmorissette@mapgears.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Paul james wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just some more information about the problem...<br>
The error was generated by IIS (5.1 and 6.0) ... Looking the Logfile, It is a 502 error :<br>
<br>
*502* - Web server received an invalid response while acting as a gateway or proxy.<br>
<br>
    *502.1* - CGI application timeout.<br>
    *502.2* - Error in CGI application.<br>
<br>
It only happens with Mapserver 5.4 ... With 5.2 version, thats 100% working...<br>
<br>
</blockquote>
<br></div>
Where did you get your binaries? Are you using MS4W?<br>
<br>
This may be a sign of a problem with your build or bug in MapServer, but we&#39;d need a testcase to reproduce it in order to help. I tried just loading your mapfile and get the following error:<br>
<br>
loadReferenceMap(): General error message. No image defined for the reference map.<br>
<br>
I don&#39;t know if that&#39;s an indication of the problem, but anyway, if the 502 error persists you could try to package a small testcase (mapfile + data + test url) that can be used to reproduce the issue and file a ticket.<br>

<br>
Daniel<br><font color="#888888">
-- <br>
Daniel Morissette<br>
<a href="http://www.mapgears.com/" target="_blank">http://www.mapgears.com/</a><br>
</font></blockquote></div><br>