<!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, conti nued</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Sorry, I don't actually have the latest code on my machine... Due to how MS changed IIS around, it would probably have the same affect on the argv[0] I don't know if MapServer uses it either, sorry. Really the only reason I mentioned this at all is because is is the one major difference we have found with IIS on win2003 and XP SP2.</FONT></P>
<P><FONT SIZE=2>Ned.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Bart van den Eijnden [<A HREF="mailto:bartvde@xs4all.nl">mailto:bartvde@xs4all.nl</A>] </FONT>
<BR><FONT SIZE=2>Sent: Monday, March 14, 2005 9:17 AM</FONT>
<BR><FONT SIZE=2>To: Ned Harding; MAPSERVER-DEV@lists.umn.edu</FONT>
<BR><FONT SIZE=2>Subject: Re: [UMN_MAPSERVER-DEV] WFS client problem on Windows 2003, conti nued</FONT>
</P>
<P><FONT SIZE=2>Hi Ned,</FONT>
</P>
<P><FONT SIZE=2>thanks for your reply.</FONT>
</P>
<P><FONT SIZE=2>But there is no call in the Mapserver source code to the GetModuleFileName function, so how could this be the cause?</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 09:14:52 -0700, Ned Harding <nharding@extendthereach.com> wrote:</FONT>
</P>
<P><FONT SIZE=2>> No idea if it is related to your problem or not, but if you are using </FONT>
<BR><FONT SIZE=2>> IIS on Win2003, any calls to GetModuleFileName will prepend "\\?\" to </FONT>
<BR><FONT SIZE=2>> the front of the path... It caused havok in a bunch of our code until </FONT>
<BR><FONT SIZE=2>> we figured out what was going on and striuped it off. You get the </FONT>
<BR><FONT SIZE=2>> same problem with IIS on XP SP2. See the docs for GetModuleFileName:</FONT>
<BR><FONT SIZE=2>> <A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllpr" TARGET="_blank">http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllpr</A></FONT>
<BR><FONT SIZE=2>> oc/bas</FONT>
<BR><FONT SIZE=2>> e/getmodulefilename.asp</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Ned.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: UMN MapServer Developers List </FONT>
<BR><FONT SIZE=2>> [<A HREF="mailto:MAPSERVER-DEV@LISTS.UMN.EDU">mailto:MAPSERVER-DEV@LISTS.UMN.EDU</A>]</FONT>
<BR><FONT SIZE=2>> On</FONT>
<BR><FONT SIZE=2>> 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, </FONT>
<BR><FONT SIZE=2>> continued</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Hi list,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> I just got some more info about this. Strangely enough everything </FONT>
<BR><FONT SIZE=2>> works fine in application (non-CGI) mode, i.e. running mapserv from </FONT>
<BR><FONT SIZE=2>> the command-line with QUERY_STRING.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> This is the output created, including libcurl debug output. There is a </FONT>
<BR><FONT SIZE=2>> section where the mapserv process waits for a while, but after that </FONT>
<BR><FONT SIZE=2>> continues. That section is marked in the output with a lot of *******.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Does anybody see something strange? Or does somebody see a reason why </FONT>
<BR><FONT SIZE=2>> this would work in application mode, but not in CGI mode?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> In total there are 3 WFS client layers.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Thanks in advance.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Best regards,</FONT>
<BR><FONT SIZE=2>> Bart</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> On Mon, 14 Mar 2005 14:26:29 +0100, Bart van den Eijnden </FONT>
<BR><FONT SIZE=2>> <bartvde@xs4all.nl></FONT>
<BR><FONT SIZE=2>> wrote:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>> Hi list,</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> does anybody have an idea what could be causing the following </FONT>
<BR><FONT SIZE=2>>> behaviour in Mapserver WFS client?</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> We were testing a URL to an external WFS service (intranet) on </FONT>
<BR><FONT SIZE=2>>> Windows 2003.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> 1. using the curl utility always the full document is retrieved, </FONT>
<BR><FONT SIZE=2>>> although times differ a lot between 10 and 65 seconds</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> 2. Mapserver does not download the full file, it downloads a part of </FONT>
<BR><FONT SIZE=2>>> it, and the part that it downloads differs all the time.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> 3. In IIS 6 a CGI error occurs after a certain time, also this amount </FONT>
<BR><FONT SIZE=2>>> of time seems to be irregular. In Apache the same request with the </FONT>
<BR><FONT SIZE=2>>> same binary keeps on running, but never finishes. The downloaded GML </FONT>
<BR><FONT SIZE=2>>> file remains at a certain size, and no content is added anymore.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> Any ideas what could cause this would be highly appreciated, or how </FONT>
<BR><FONT SIZE=2>>> to go about debugging this problem further.</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>>> Best regards,</FONT>
<BR><FONT SIZE=2>>> Bart</FONT>
<BR><FONT SIZE=2>>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><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>
<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>