<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: [UMN_MAPSERVER-DEV] WFS client problem on Windows 2003, continued</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>No idea if it is related to your problem or not, but if you are using IIS on Win2003, any calls to GetModuleFileName will prepend &quot;\\?\&quot; to the front of the path...&nbsp; It caused havok in a bunch of our code until we figured out what was going on and striuped it off.&nbsp; You get the same problem with IIS on XP SP2.&nbsp; See the docs for GetModuleFileName:&nbsp; <A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp" TARGET="_blank">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/getmodulefilename.asp</A></FONT></P>

<P><FONT SIZE=2>Ned.</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: UMN MapServer Developers List [<A HREF="mailto:MAPSERVER-DEV@LISTS.UMN.EDU">mailto:MAPSERVER-DEV@LISTS.UMN.EDU</A>] On Behalf Of Bart van den Eijnden</FONT>
<BR><FONT SIZE=2>Sent: Monday, March 14, 2005 8:09 AM</FONT>
<BR><FONT SIZE=2>To: MAPSERVER-DEV@LISTS.UMN.EDU</FONT>
<BR><FONT SIZE=2>Subject: [UMN_MAPSERVER-DEV] WFS client problem on Windows 2003, continued</FONT>
</P>

<P><FONT SIZE=2>Hi list,</FONT>
</P>

<P><FONT SIZE=2>I just got some more info about this. Strangely enough everything works fine in application (non-CGI) mode, i.e. running mapserv from the command-line with QUERY_STRING.</FONT></P>

<P><FONT SIZE=2>This is the output created, including libcurl debug output. There is a section where the mapserv process waits for a while, but after that continues. That section is marked in the output with a lot of *******.</FONT></P>

<P><FONT SIZE=2>Does anybody see something strange? Or does somebody see a reason why this would work in application mode, but not in CGI mode?</FONT></P>

<P><FONT SIZE=2>In total there are 3 WFS client layers.</FONT>
</P>

<P><FONT SIZE=2>Thanks in advance.</FONT>
</P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Bart</FONT>
</P>

<P><FONT SIZE=2>On Mon, 14 Mar 2005 14:26:29 +0100, Bart van den Eijnden &lt;bartvde@xs4all.nl&gt; wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; Hi list,</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; does anybody have an idea what could be causing the following </FONT>
<BR><FONT SIZE=2>&gt; behaviour in Mapserver WFS client?</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; We were testing a URL to an external WFS service (intranet) on Windows </FONT>
<BR><FONT SIZE=2>&gt; 2003.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 1. using the curl utility always the full document is retrieved, </FONT>
<BR><FONT SIZE=2>&gt; although times differ a lot between 10 and 65 seconds</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 2. Mapserver does not download the full file, it downloads a part of </FONT>
<BR><FONT SIZE=2>&gt; it, and the part that it downloads differs all the time.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 3. In IIS 6 a CGI error occurs after a certain time, also this amount </FONT>
<BR><FONT SIZE=2>&gt; of time seems to be irregular. In Apache the same request with the </FONT>
<BR><FONT SIZE=2>&gt; same binary keeps on running, but never finishes. The downloaded GML </FONT>
<BR><FONT SIZE=2>&gt; file remains at a certain size, and no content is added anymore.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Any ideas what could cause this would be highly appreciated, or how to </FONT>
<BR><FONT SIZE=2>&gt; go about debugging this problem further.</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Best regards,</FONT>
<BR><FONT SIZE=2>&gt; Bart</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>Using Opera's revolutionary e-mail client: <A HREF="http://www.opera.com/m2/" TARGET="_blank">http://www.opera.com/m2/</A></FONT>
</P>

</BODY>
</HTML>