<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>i have a big pblm with connection to my db oracle with OGR via my application on .net.</DIV><DIV>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 :</DIV><DIV>&nbsp;</DIV><DIV>msDrawMap(): Image handling error. Failed to draw layer named 'tablename'.;msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `tablename'.&nbsp; File not found or unsupported format.</DIV><DIV>&nbsp;</DIV><DIV>my mapfile : </DIV><DIV>&nbsp;</DIV><DIV>MAP</DIV><DIV>&nbsp;NAME "local10g"<BR>&nbsp;SIZE 400 400<BR>&nbsp;STATUS ON<BR>&nbsp;EXTENT 861538 317217 868747 329841<BR>&nbsp;UNITS METERS <BR>#CONFIG "MS_ERRORFILE" "/ms4w/ms_error.txt"<BR>#DEBUG 2<BR>&nbsp;SHAPEPATH ""<BR>&nbsp;WEB<BR>&nbsp;&nbsp;IMAGEPATH "C:\test_mapServ_vb\App_Data\temp"<BR>&nbsp;&nbsp;IMAGEURL "C:\test_mapServ_vb\App_Data\temp"<BR>&nbsp;END</DIV><DIV>&nbsp;LAYER<BR>&nbsp;&nbsp;NAME "tablename"<BR>&nbsp;&nbsp;STATUS ON<BR>&nbsp;&nbsp;TYPE LINE<BR>&nbsp;&nbsp;CONNECTIONTYPE OGR<BR>&nbsp;&nbsp;CONNECTION "OCI:user/pass@dbname"<BR>&nbsp;&nbsp;DATA "tablename"<BR>&nbsp;&nbsp;CLASS<BR>&nbsp;&nbsp;&nbsp;STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;COLOR 255 212 44<BR>&nbsp;&nbsp;&nbsp;&nbsp;SYMBOL 0<BR>&nbsp;&nbsp;&nbsp;END<BR>&nbsp;&nbsp;END<BR>&nbsp;END<BR>END<BR></DIV><DIV>i tested the same with o native connection to oraclespatial and the result is ok.</DIV><DIV>&nbsp;</DIV><DIV>someone can help me plz.<BR><BR></DIV><DIV>Best regards,<BR>Youness&nbsp;ELMEDRAOUI<BR></DIV></FONT>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&#44; reproduction ou divulgation de cet e-mail est strictement interdit si vous n'en êtes pas le destinataire.Dans ce cas&#44; veuillez nous en avertir immédiatement par la même voie et détruire l'original. Merci <br />