Ok I found the error, it was on the sld itself: apparently mapserver can&#39;t handle in the same rule a point symbolizer and a polygon symbolizer. So I have to make 2 sld layers: one for my points and one for my polygons. It is a pity since openlayers could handle this without any problem.<br>
<br>(there was no problem with the temp file since I gave a chmod access to all users in this folder; but now I understand why I have so many temp files in this directory).<br><br><div class="gmail_quote">On Fri, May 30, 2008 at 10:29 AM, Barend Kobben &lt;<a href="mailto:kobben@itc.nl">kobben@itc.nl</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Did you check the SLD TMP file problem (from the thread Re: &quot;SLD ignored /<br>
External Graphic ignored)&quot; see excerpt below)?<br>
<br>
***snip***<br>
Using SLDs is dependent on the correct setting of the two settings<br>
&nbsp;IMAGEPATH &nbsp;-- where the mapserver software puts the SLD and other temporary<br>
files<br>
&nbsp;IMAGEURL -- where the web browser and other http services pick them up.<br>
<br>
Setting these incorrectly, and more importantly their security setting<br>
incorrrectly, will normally give no problems, but when using SLDs (and also<br>
in other cases, eg. when chaining Mapserver to external WMS and WFS<br>
services), they will make MS malfunction, but SILENTLY (ie. No error<br>
messages).<br>
<br>
Eg. in our set ups of a WMS with external SLD they are set as follows:<br>
<br>
For &nbsp;a *nix setup ( MacOSX) with Mapserver CGI &#39;behind&#39; &nbsp;Apache:<br>
WEB<br>
 &nbsp; &nbsp;IMAGEPATH &quot;/Users/kobben/Sites/ms_tmp/&quot;<br>
 &nbsp; &nbsp;IMAGEURL &quot;<a href="http://localhost/%7Ekobben/ms_tmp/" target="_blank">http://localhost/~kobben/ms_tmp/</a>&quot;<br>
 &nbsp; &nbsp;#--------------------------------------------#<br>
 &nbsp; &nbsp;METADATA<br>
 &nbsp; &nbsp; &nbsp; [all your web metadata...]<br>
 &nbsp; &nbsp;END #metadata<br>
END #web<br>
<br>
For a Win box with Mapserver CGI &#39;behind&#39; &nbsp;IIS:<br>
 &nbsp;IMAGEPATH &quot;C:/tmp/ms_tmp/&quot;<br>
 &nbsp;IMAGEURL &quot;<a href="http://geoserver.itc.nl/ms_tmp/" target="_blank">http://geoserver.itc.nl/ms_tmp/</a>&quot;<br>
<br>
The IMAGEPATh is a directory that is reacheable by Mapserver at this real<br>
location (in this case expressed as Unix BSD path on my MacOSX or as &nbsp;UNC<br>
path on Win) and that has read &amp; write access set &nbsp;for the Mapserver<br>
process. Eg. on the Winbox it should have write access for the anonymous<br>
system service account under which Mapserver runs (usually something like<br>
SERVERNAME\IWAM_SERVERNAME).<br>
<br>
You can test this by seeing if files with names like) are being created when<br>
you request the WMS with external SLD. If they are the IMAGEPATH celarly<br>
works. Then test if you can point a browser to the IMAGEURL and pick up the<br>
tmp file. If that worsk the IMAGEURL is also OK. Now it should work...<br>
<br>
Hope this helps.<br>
<br>
--<br>
Barend Köbben<br>
International Institute for Geo-Information<br>
Sciences and Earth Observation (ITC)<br>
PO Box 6<br>
7500AA Enschede, The Netherlands<br>
+31 (0)53 4874253<br>
<br>
International Institute for Geo-Information Science and Earth Observation (ITC)<br>
Chamber of Commerce: 410 27 560<br>
<br>
E-mail disclaimer<br>
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.<br>

</blockquote></div><br>