<div>Below is the schema for a single SDF file. </div>  <div>(please note: samples for MGOS 2.0 are also not working eventhough I have renamed the folder of MGOS 1.2)</div>  <div>&nbsp;</div>  <div>&#8722;<BR>&nbsp;&lt;xs:schema targetNamespace="<A href="http://fdo.osgeo.org/schemas/feature/SDF_2_Schema">http://fdo.osgeo.org/schemas/feature/SDF_2_Schema</A>" elementFormDefault="qualified" attributeFormDefault="unqualified"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;Schema of the Spatial Data File format version 2.&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element name="TOWNSHIPS" type="SDF_2_Schema:TOWNSHIPSType" abstract="false" substitutionGroup="gml:_Feature"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:key name="TOWNSHIPSKey"&gt;<BR>&lt;xs:selector xpath=".//TOWNSHIPS"/&gt;<BR>&lt;xs:field xpath="Autogenerated_SDF_ID"/&gt;<BR>&lt;/xs:key&gt;<BR>&lt;/xs:element&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:complexType
 name="TOWNSHIPSType" abstract="false" fdo:geometryName="Data"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:complexContent&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:extension base="gml:AbstractFeatureType"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:sequence&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element name="Data" type="gml:AbstractGeometryType" fdo:hasMeasure="false" fdo:hasElevation="false" fdo:geometricTypes="surface " fdo:geometryTypes="polygon multipolygon curvepolygon multicurvepolygon "&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;The geometry of the object&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&lt;/xs:element&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element name="Name" minOccurs="0"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;The name of the object&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:simpleType&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:restriction base="xs:string"&gt;<BR>&lt;xs:maxLength
 value=""/&gt;<BR>&lt;/xs:restriction&gt;<BR>&lt;/xs:simpleType&gt;<BR>&lt;/xs:element&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element name="Url" minOccurs="0"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;The url of the object&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:simpleType&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:restriction base="xs:string"&gt;<BR>&lt;xs:maxLength value=""/&gt;<BR>&lt;/xs:restriction&gt;<BR>&lt;/xs:simpleType&gt;<BR>&lt;/xs:element&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element name="Key" minOccurs="0"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;The key of the object&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:simpleType&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:restriction base="xs:string"&gt;<BR>&lt;xs:maxLength value=""/&gt;<BR>&lt;/xs:restriction&gt;<BR>&lt;/xs:simpleType&gt;<BR>&lt;/xs:element&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:element
 name="Autogenerated_SDF_ID" fdo:readOnly="true" fdo:autogenerated="true"&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:simpleType&gt;<BR>&lt;xs:restriction base="fdo:int32"/&gt;<BR>&lt;/xs:simpleType&gt;<BR>&#8722;<BR>&nbsp;&lt;xs:annotation&gt;<BR>&lt;xs:documentation&gt;Autogenerated identity property&lt;/xs:documentation&gt;<BR>&lt;/xs:annotation&gt;<BR>&lt;/xs:element&gt;<BR>&lt;/xs:sequence&gt;<BR>&lt;/xs:extension&gt;<BR>&lt;/xs:complexContent&gt;<BR>&lt;/xs:complexType&gt;<BR>&lt;/xs:schema&gt;<BR><BR><B><I>Dave Wilson &lt;dave.wilson@autodesk.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="Microsoft Word 12 (filtered medium)" name=Generator>  <STYLE>  v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}  </STYLE>    <STYLE>  <!--   /* Font Definitions */   @font-face   {font-family:"MS
 Mincho";   panose-1:2 2 6 9 4 2 5 8 3 4;}  @font-face   {font-family:"Cambria Math";   panose-1:2 4 5 3 5 4 6 3 2 4;}  @font-face   {font-family:Calibri;   panose-1:2 15 5 2 2 2 4 3 2 4;}  @font-face   {font-family:Tahoma;   panose-1:2 11 6 4 3 5 4 4 2 4;}  @font-face   {font-family:"\@MS Mincho";   panose-1:2 2 6 9 4 2 5 8 3 4;}   /* Style Definitions */   p.MsoNormal, li.MsoNormal, div.MsoNormal   {margin:0in;   margin-bottom:.0001pt;   font-size:12.0pt;   font-family:"Times New Roman","serif";}  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;}  p   {mso-style-priority:99;   mso-margin-top-alt:auto;   margin-right:0in;   mso-margin-bottom-alt:auto;   margin-left:0in;   font-size:12.0pt;   font-family:"Times New Roman","serif";}  span.EmailStyle18   {mso-style-type:personal;   font-family:"Calibri","sans-serif";  
 color:#1F497D;}  span.EmailStyle20   {mso-style-type:personal-reply;   font-family:"Calibri","sans-serif";   color:#1F497D;}  .MsoChpDefault   {mso-style-type:export-only;}  @page Section1   {size:8.5in 11.0in;   margin:1.0in 1.0in 1.0in 1.0in;}  div.Section1   {page:Section1;}  -->  </STYLE>    <DIV class=Section1>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Ok the error suggests something really bad is happening. After getting an unclassified exception it’s probably a good idea to restart the server as there may be a possibility of memory corruption.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></div>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I would try you test again
 and see if you can duplicate the error. If you can isolate it to a particular layer / feature source, can you either post the results of a DescribeSchema from the <A href="http://mapguide/mapagent.index.html">http://mapguide/mapagent.index.html</A> pages under Feature Service for the feature source so that we can see if there is anything special about the data types involved. If this happens for any data then something else more fundamental is wrong.<o:p></o:p></SPAN></div>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Dave<o:p></o:p></SPAN></div>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div>  <DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
 PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">  <div class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Don C. MacGregor<BR><B>Sent:</B> Wednesday, May 21, 2008 2:54 PM<BR><B>To:</B> MapGuide Users Mail List<BR><B>Subject:</B> RE: [mapguide-users] Custom scripts not working<o:p></o:p></SPAN></div></DIV>  <div class=MsoNormal><o:p>&nbsp;</o:p></div>  <DIV>  <div class=MsoNormal>I am not sure about the exact cause. Below are the line from error log. There is only one PHP on my computer that was added to system path. <o:p></o:p></div></DIV>  <DIV>  <div class=MsoNormal>Thanks Dave!<o:p></o:p></div></DIV>  <DIV>  <div class=MsoNormal>&nbsp;<o:p></o:p></div></DIV>  <DIV>  <div
 class=MsoNormal>&nbsp;Error: An unclassified exception occurred.<BR>&nbsp;StackTrace:<BR>&nbsp; - MgRenderingServiceHandler.ProcessOperation line 83 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp<BR>&nbsp; - MgOpQueryFeatures.Execute line 125 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\OpQueryFeatures.cpp<BR>&nbsp; - MgServerRenderingService.QueryFeatures line 652 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp<BR>&nbsp; - MgServerRenderingService.RenderForSelection line 1299 file d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\rendering\ServerRenderingService.cpp<BR>&nbsp; - MgServerSelectFeatures.SelectFeatures line 249 file
 d:\buildforgeprojects\mapguide_open_source_v2.0\build_27.16\mgdev\server\src\services\feature\ServerSelectFeatures.cpp&nbsp;An unclassified exception occurred.<BR><BR><BR><B><I>Dave Wilson &lt;dave.wilson@autodesk.com&gt;</I></B> wrote:<o:p></o:p></div></DIV>  <BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; MARGIN-TOP: 5pt; PADDING-LEFT: 4pt; MARGIN-BOTTOM: 5pt; PADDING-BOTTOM: 0in; MARGIN-LEFT: 3.75pt; BORDER-LEFT: #1010ff 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Do you have multiple versions of PHP on your system? Is PHP in your system path?<o:p></o:p></SPAN></div></DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div></DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d;
 FONT-FAMILY: 'Calibri','sans-serif'">Again if you turn on PHP error &nbsp;logging or display do you see any errors? Are there any MapGuide errors in the error log?<o:p></o:p></SPAN></div></DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div></DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Dave<o:p></o:p></SPAN></div></DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div></DIV>  <DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">  <DIV>  <div class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt;
 FONT-FAMILY: 'Tahoma','sans-serif'"> mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Don C. MacGregor<BR><B>Sent:</B> Wednesday, May 21, 2008 1:55 PM<BR><B>To:</B> MapGuide Users Mail List<BR><B>Subject:</B> RE: [mapguide-users] Custom scripts not working<o:p></o:p></SPAN></div></DIV></DIV>  <DIV>  <div class=MsoNormal><o:p>&nbsp;</o:p></div></DIV>  <DIV>  <DIV>  <div class=MsoNormal>Many thanks Dave for your email.<o:p></o:p></div></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal>Easiest example would be <STRONG>Ad Hoc Queries</STRONG> <A href="http://data.mapguide.com/mapguide/gt/index.php">http://data.mapguide.com/mapguide/gt/index.php</A>&nbsp;they used to run on my computer when was running MGOS 1.2 but once I upgraded to 2.0.1 they dont work. Although properties listbox populting all the fields of the selected layer but when I run a query it doent work (Please note I didnt even edit the PHP
 files).<o:p></o:p></div></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal><BR><BR><B><I>Dave Wilson &lt;dave.wilson@autodesk.com&gt;</I></B> wrote:<o:p></o:p></div></DIV></DIV>  <BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; MARGIN-TOP: 5pt; PADDING-LEFT: 4pt; MARGIN-BOTTOM: 5pt; PADDING-BOTTOM: 0in; MARGIN-LEFT: 3.75pt; BORDER-LEFT: #1010ff 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">  <DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">You would have to provide some details on what your custom script does? Does it reference any API that may have changed? Do you get an PHP errors? Have you enabled PHP error logging or display?<o:p></o:p></SPAN></div></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div></DIV></DIV>  <DIV>  <DIV>  <div
 class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,<o:p></o:p></SPAN></div></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Dave<o:p></o:p></SPAN></div></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></div></DIV></DIV>  <DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">  <DIV>  <DIV>  <div class=MsoNormal><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> mapguide-users-bounces@lists.osgeo.org [mailto:mapguide-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Don C.
 MacGregor<BR><B>Sent:</B> Wednesday, May 21, 2008 10:13 AM<BR><B>To:</B> mapguide-users@lists.osgeo.org<BR><B>Subject:</B> [mapguide-users] Custom scripts not working<o:p></o:p></SPAN></div></DIV></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal><o:p>&nbsp;</o:p></div></DIV></DIV>  <DIV>  <DIV>  <DIV>  <div class=MsoNormal>Hi all,<o:p></o:p></div></DIV></DIV></DIV>  <DIV>  <DIV>  <DIV>  <div class=MsoNormal>I recently upgraded MGOS 1.2 to 2.0.1 everything works just fine except none of my custom PHP sripts is working. I am using Win2K3, IIS6 and PHP. Does anyone know any possible reason?<o:p></o:p></div></DIV></DIV></DIV>  <DIV>  <DIV>  <DIV>  <div class=MsoNormal>Thanks<o:p></o:p></div></DIV></DIV></DIV>  <DIV>  <DIV>  <div class=MsoNormal>&nbsp; <o:p></o:p></div></DIV></DIV>  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>  <HR align=center width="100%" SIZE=1>  </DIV>  <DIV>  <DIV>  <div class=MsoNormal>Ask a question on any topic and get answers from real
 people. <A href="http://ca.answers.yahoo.com/"><B>Go to Yahoo! Answers.</B></A><o:p></o:p></div></DIV></DIV>  <DIV>  <div class=MsoNormal>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<o:p></o:p></div></DIV></BLOCKQUOTE>  <DIV>  <div class=MsoNormal><o:p>&nbsp;</o:p></div></DIV>  <DIV>  <div class=MsoNormal>&nbsp; <o:p></o:p></div></DIV>  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>  <HR align=center width="100%" SIZE=1>  </DIV>  <DIV>  <div class=MsoNormal>Ask a question on any topic and get answers from real people. <A href="http://ca.answers.yahoo.com/"><B>Go to Yahoo! Answers.</B></A><o:p></o:p></div></DIV>  <div class=MsoNormal>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<o:p></o:p></div></BLOCKQUOTE> 
 <div class=MsoNormal><o:p>&nbsp;</o:p></div>  <div>&nbsp; <o:p></o:p></div>  <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>  <HR align=center width="100%" SIZE=1>  </DIV>  <div class=MsoNormal>Looking for the perfect gift?<A href="http://www.flickr.com/gift/"><B> Give the gift of Flickr!</B></A><o:p></o:p></div></DIV>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></BLOCKQUOTE><BR><p>&#32;
      <p class="MsoNormal"> </p>

  <tbody><tr>

    <td style="padding: 0.75pt;">

    <div class="MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

    <hr align="center" size="1" width="100%">

    </span></font></div>

 

      <p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><img id="_x0000_i1026" src="http://us.i1.yimg.com/us.yimg.com/i/ca/iotg_search.jpg" align="absbottom" border="0" height="25" hspace="4" width="25"><a href="http://ca.toolbar.yahoo.com/" target="_new"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo! 
        Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on 
        the web and bookmark your favourite sites. Download it now! </span></a> 
        </span></font><span lang="NO-BOK"><o:p></o:p></span></p>