Stella,<br><br>Try adding a config entry to your mapfile that points to the folder containing your epsg configuration file:<br><pre><span class="k">MAP</span><br>    <span class="p">...</span><br>    <span class="k">CONFIG</span> <span class="s">&quot;PROJ_LIB&quot;</span> <span class="s">&quot;C:/somedir/proj/nad/&quot;</span><br>

    <span class="p">...</span><br><span class="k">END</span><br></pre><br><br><span style="color: black;"><div dir="ltr"><div>
<div style="width: 150px; font-family: tahoma; font-size: 8pt; font-weight: bold;">
Dan Walton<br>
<a href="mailto:dgwalton@gmail.com">dgwalton@gmail.com</a>
</div></div><div style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;"><a href="http://www.linkedin.com/in/danielwalton2010" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/linkedin.png" alt="Linkedin" style="vertical-align: middle; padding-bottom: 5px;" width="16" border="0" height="16"></a><a href="http://twitter.com/danwallie" style="padding: 0pt 2px; color: blue; font-size: 10pt;"><img src="http://www.images.wisestamp.com/twitter.png" alt="Twitter" style="vertical-align: middle; padding-bottom: 5px;" width="16" border="0" height="16"></a></div>

</div></span><br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 9:56 AM, stela anders <span dir="ltr">&lt;<a href="mailto:stelaanders@gmail.com">stelaanders@gmail.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;">

Hello Frank!<br>Thanks for your time ;)<br><br>I´m working on Windows 7...<br><br>I made all modifications you suggest me, but got the same error...<br>The URL now is :<br><br><a href="http://localhost/cgi-bin-last/mapserv.exe?MAP=C:/inetpub/wwwroot/Openlayer/Mapserver/Mapfile/Map.map&amp;LAYERS=Argentina&amp;TRANSPARENT=true&amp;FORMAT=image/png&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application/vnd.ogc.se_inimage&amp;SRS=EPSG:4326&amp;BBOX=-62.9142,-17.3676,-57.2892,-11.7426&amp;WIDTH=256&amp;HEIGHT=256" target="_blank">http://localhost/cgi-bin-last/mapserv.exe?MAP=C:/inetpub/wwwroot/Openlayer/Mapserver/Mapfile/Map.map&amp;LAYERS=Argentina&amp;TRANSPARENT=true&amp;FORMAT=image/png&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application/vnd.ogc.se_inimage&amp;SRS=EPSG:4326&amp;BBOX=-62.9142,-17.3676,-57.2892,-11.7426&amp;WIDTH=256&amp;HEIGHT=256</a><br>


<br><br>The only difference that I noticed is that the error in browser now is in TEXT format...<br>Before the error was write in a Image... <br><br>I´m completely lost ! :(<br><br>Any other idea?<br><br>ps.: Sorry for my bad english<br>


<br>Stella<br><br><div class="gmail_quote">2010/1/5 Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div>stela anders wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        LAYER<br>
        NAME Argentina<br>
        METADATA<br>
            &quot;wms_title&quot;    &quot;Argentina&quot;   ##required<br>
        END               TYPE POLYGON<br>
        STATUS ON<br>
        INCLUDE &quot;Connection.map&quot;                DATA &quot;the_geom from tbl_argentina USING UNIQUE gid USING SRID=0&quot;<br>
        PROJECTION<br>
            &quot;proj=longlat&quot;<br>
            &quot;ellps=WGS84&quot;<br>
            &quot;datum=WGS84&quot;<br>
            &quot;no_defs&quot;<br>
        END<br>
<br>
        CLASS<br>
            COLOR 255 200 255<br>
        END<br>
        END<br>
<br>
END<br>
<br>
When I try to open that with my OpenLayer app, I got images with that error :<br>
<br>
Error: msProcessProjection(): /Projection library error/. /Invalid argument<br>
</blockquote>
<br></div>
Stella,<br>
<br>
I am not sure why you are getting this error.  I search high and low and can&#39;t<br>
find &quot;Invalid argument&quot; in either MapServer or PROJ.4.  Are you working on<br>
linux or Windows?  Were the &quot;/&quot; characters really in this message?  It is<br>
hard for me to understand how this could happen.<br>
<br>
With regard to your mapfile, I was surprised that you don&#39;t have<br>
wms_srs metadata on your layer.  It is a shot in the dark, but perhaps you<br>
could add wms_srs EPSG:4326 metadata on the layer, and reorder the wms_srs<br>
metadata on the map to put EPSG:4326 first.<br>
<br>
Also, you could try changing:<div><br>
<br>
&gt;         PROJECTION<br>
&gt;             &quot;proj=longlat&quot;<br>
&gt;             &quot;ellps=WGS84&quot;<br>
&gt;             &quot;datum=WGS84&quot;<br>
&gt;             &quot;no_defs&quot;<br>
&gt;         END<br>
<br></div>
to:<br>
<br>
PROJECTION<br>
  &quot;+init=epsg:4326&quot;<br>
END<br>
<br>
in both the layer and map.  This is slower to expand but it might<br>
make it easier for mapserver to relate to epsg codes.<div><div></div><div><br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
</div></div></blockquote></div></div></div><br>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><br><span style="color: black;"></span>