<div id="result_box" dir="ltr">Hello friends,<br><br><div id="result_box"
dir="ltr">When requesting a service WMS,
<br>http://www.sigtruj.org.ve/cgi-sys/mapserv?map=/home/sigtrujo/www/map/pru
eba2.map&layers=mun&mode=map<br>gives me the following
error:<br>msDrawMap(): Image handling error. Failed to draw layer named
'prueba'.
prepare_database(): Query error. Error declaring cursor: ERROR:
permission denied for relation sitios
With query string: DECLARE mycursor BINARY CURSOR FOR SELECT
asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::text from
sitios WHERE the_geom && setSRID('BOX3D(-74.65 -2.465,-56.89
15.295)'::BOX3D, find_srid('','sitios','the_geom') )<br></div><br>The file
Map.<br><br><pre>MAP<br>  NAME ven_vias<br>  SIZE 400 400<br>  UNITS dd<br>
INTERLACE ON<br><br>  EXTENT -74.65 -2.465 -56.89 15.295<br> 
PROJECTION<br>    'init=EPSG:4189'<br>  END<br>  FONTSET
'../fonts/fonts.txt'<br>  SYMBOLSET '../simbolo/simbolo.txt'<br>  
<br>      WEB<br>           TEMPLATE "../plantilla.html"<br>                IMAGEPATH
"/home/sigtrujo/www/tmp/ms_tmp/"<br>            IMAGEURL "/tmp/ms_tmp/"<br>             #EMPTY 
"http://www.sigtruj.org.ve/plantilla.html"<br>          LOG
"../mapservEdenWfsIow.log" <br><br>               METADATA<br>                      "wms_title"        "WMS
Demo Server" ##REQUIRED - generates warning in xml output if
missing<br>                       "wms_onlineresourse"
"http://localhost/cgi-bin/mapserv"<br>                  "wms_srs"           
"init=epsg:24719"     <br>              END <br>  END #end web<br><br>LAYER<br>    NAME
"prueba"<br>    TYPE point<br>    CONNECTIONTYPE postgis<br>    CONNECTION
"host=localhost port=5432 user=sigtrujo_test password=andrea08
dbname=sigtrujo_ve"<br>    DATA "the_geom FROM sitios"<br>    STATUS
DEFAULT<br>    METADATA<br>      'wms_title' 'sitios'<br>    END<br>   
PROJECTION<br>    'init=EPSG:4189'<br>    END<br>    CLASS<br>       NAME
'VALOR' <br>       STYLE<br>          COLOR 255 0 0<br>          SYMBOL
0<br>       END<br>     END<br>END<br>IMAGETYPE PNG<br>OUTPUTFORMAT<br>  
NAME PNG<br>   DRIVER "GD/PNG"<br>   MIMETYPE "image/png"<br>   IMAGEMODE
PC256<br>   EXTENSION "png"<br>   TRANSPARENT ON<br> END<br>END</pre><div
id="result_box" dir="ltr">The tables were generated with the BD:
<br>shp2pgsql -I -s 4019 D:\POSTGRADO\TFM\DATOS\SIGTRUJ\cit_tur_truj.shp
sit_tur_truj sigtruj> sit_tur_truj.sql<br><div id="result_box"
dir="ltr">I am using MS4W and everything works well, so local,  but to
stay at my web server (www.sigtruj.org.ve) gives me the error.<br><br><div
id="result_box" dir="ltr">I can help solve this problem?. Thank
you.<br><br><br></div><br></div><br><br></div></div>