<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>Using the 6.0.1 version of MapServer and the 1.8.1 version of GDAL (using <a href="http://vbkto.dyndns.org/sdk/PackageInfo.aspx?file=release-1400-x64-gdal-1-8-1-mapserver-6-0-1.zip">Tamas Szekeres binaries</a>), I got and error when I try to request a WFS layer. This layer get data from an Oracle Database using OGR and OCI.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>The same layer works well when I use MapServer 5.6 and GDAL 1.7. WMS layers work well, and WFS GetCapabilities requests are working well also.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here is the Windows event registered when the GetFeature request is sent :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>The Window Event:<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp: 0x4e208c15<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting module name: MSVCR80.dll, version: 8.0.50727.4927, time stamp: 0x4a27427d<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Exception code: 0xc0000005<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Fault offset: 0x000000000001e272<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting process id: 0xabc<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting application start time: 0x01cc687fe11d27a6<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting application path: D:\wwwRoot\MapServer6\cgi-bin\mapserv.exe<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Faulting module path: C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_88dce9872fb18caf\MSVCR80.dll<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>Report Id: 1efbc4e2-d473-11e0-9fc6-005056991513<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here are some part of the MapFile (the definition of the WFS layers is in a separate file) :<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>MAP<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> CONFIG PROJ_LIB "D:/MapServerProj/nad/"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> CONFIG GDAL_DRIVER_PATH "D:/gdalplugins1.8/"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> CONFIG "MS_ERRORFILE" "D:/MapServerMaps/Errors_MapAgriQuest6.txt"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> DEBUG 5<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> ….<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> WEB<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> IMAGEPATH "D:/wwwroot/MapServer6/temp/"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> IMAGEURL "/temp/"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> METADATA<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> "ows_enable_request" "*"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> ….<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> END<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> END<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> ….<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'> INCLUDE "MapAgriQuest_Blocks.map"<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt;text-indent:35.4pt'><span lang=EN-US style='font-size:9.0pt'>….<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><span lang=EN-US style='font-size:9.0pt'>END # Map<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Here is the definition of the layer:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> LAYER<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> NAME "LOCALIZED_BLOCKS"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> METADATA<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> "ows_title" "LOCALIZED_BLOCKS"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> ….<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> END<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> VALIDATION<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> idUser '^[0-9]{1,6}$' # %idUser% must be numeric and between 1 and 6 characters<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> idLanguage '^[0-9]{1,2}$' # %idLanguage% must be numeric and between 1 and 2 characters<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> END <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> TYPE POLYGON<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:9.0pt'>CONNECTIONTYPE OGR<o:p></o:p></span></p><p class=MsoNormal style='margin-left:70.8pt'><span lang=EN-US style='font-size:9.0pt'>CONNECTION "OCI:****/****@****"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> DATA "SELECT ….<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> FROM ….<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> WHERE …."<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> STATUS ON<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> …..<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt'> END<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Nicolas<o:p></o:p></span></p></div></body></html>