Hi,
i have a big pblm with connection to my db oracle with OGR via my application on .net.
when i tested my mapfile with a command shp2img, it's work but when i want to test them on my application .net, i have an error msg :
msDrawMap(): Image handling error. Failed to draw layer named 'tablename'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `tablename'. File not found or unsupported format.
my mapfile :
MAP
NAME "local10g"
SIZE 400 400
STATUS ON
EXTENT 861538 317217 868747 329841
UNITS METERS
#CONFIG "MS_ERRORFILE" "/ms4w/ms_error.txt"
#DEBUG 2
SHAPEPATH ""
WEB
IMAGEPATH "C:\test_mapServ_vb\App_Data\temp"
IMAGEURL "C:\test_mapServ_vb\App_Data\temp"
END
SIZE 400 400
STATUS ON
EXTENT 861538 317217 868747 329841
UNITS METERS
#CONFIG "MS_ERRORFILE" "/ms4w/ms_error.txt"
#DEBUG 2
SHAPEPATH ""
WEB
IMAGEPATH "C:\test_mapServ_vb\App_Data\temp"
IMAGEURL "C:\test_mapServ_vb\App_Data\temp"
END
LAYER
NAME "tablename"
STATUS ON
TYPE LINE
CONNECTIONTYPE OGR
CONNECTION "OCI:user/p...@dbname"
DATA "tablename"
CLASS
STYLE
COLOR 255 212 44
SYMBOL 0
END
END
END
END
NAME "tablename"
STATUS ON
TYPE LINE
CONNECTIONTYPE OGR
CONNECTION "OCI:user/p...@dbname"
DATA "tablename"
CLASS
STYLE
COLOR 255 212 44
SYMBOL 0
END
END
END
END
i tested the same with o native connection to oraclespatial and the result is ok.
someone can help me plz.
Best regards,
Youness ELMEDRAOUI
Les informations figurant sur cet e-mail ont un caractère strictement confidentiel et sont exclusivement adressées au destinataire mentionné ci-dessus.Tout usage, reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci Youness ELMEDRAOUI
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
