<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18203" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText62355 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I will create a test app and post it.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks</FONT></DIV></DIV>
<DIV dir=ltr>Murty<BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Tamas Szekeres [mailto:szekerest@gmail.com]<BR><B>Sent:</B> Tue 17/02/2009 6:33 PM<BR><B>To:</B> Murty Maganti<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [mapserver-users] Problem with loading map file using C# map script<BR></FONT><BR></DIV>
<DIV>Hmmm. I haven't found such an issue before.<BR>If you could post an example that would be helpful to reproduce this.<BR>I<BR>Best regards,<BR><BR>Tamas<BR><BR><BR><BR>
<DIV class=gmail_quote>2009/2/18 Murty Maganti <SPAN dir=ltr>&lt;<A href="mailto:MMaganti@oriongis.com">MMaganti@oriongis.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV lang=EN-US vlink="purple">
<DIV>
<P>Hi </P>
<P>&nbsp;</P>
<P>I have a issue loading a map file through map script and need help.</P>
<P>&nbsp;</P>
<P>I have two map info (tab) files with same name but in two different folders. I have two map files each containing each layer. I am loading these map files using C# map script (each map file is loaded in to a separate mapObj on a separate thread). At run time, when I debug the second mapObj, the layer has items (layerObj.getItem()) from the first layer loaded by the first map file. I verified 'shapepath' on mapObj and it is pointing to correct path. There is nothing wrong there. I am surprised how is it caching the item info, just by the file name (file name is same but they are completely from different folders).</P>
<P>&nbsp;</P>
<P>When I load the map file one more time (again a different .Net thread, it shows up correct fields).</P>
<P>&nbsp;</P>
<P>Within my app (Asp.Net), I can consistently replicate this.</P>
<P>&nbsp;</P>
<P>Thanks</P>
<P>Murty</P>
<P>&nbsp;</P></DIV></DIV><BR>_______________________________________________<BR>mapserver-users mailing list<BR><A href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target=_blank>http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>